liip / liip/RMT

Error "you must provide a [name] value"

Open
#68 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
459
Forks
45
PR merge metrics
No merged PRs in 30d

Description

The following config make RMT release explode:

pre-release-actions:
    - "bin/ShellScriptLauncher.php":
        command: "app/console assets:install web --symlink --env=prod"
    - "bin/ShellScriptLauncher.php":
        command: "app/console assetic:dump --env=prod"
    - "changelog-update":
        format: semantic
    - vcs-commit

error:

[Liip\RMT\Config\Exception]                                                                     
  Config error: Missing information for [pre-release-actions_2], you must provide a [name] value

If I remove the changelog-update lines, it works. If I move the changelog-update to the top of the list, it works.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the shown pre-release-actions configuration by running RMT release. Compare it with the working configurations where changelog-update is removed or moved to the top; done means the original ordering is accepted without the missing [name] error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.