Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables in post-release-action #120

Open
icodealone opened this issue Jul 7, 2017 · 3 comments
Open

Variables in post-release-action #120

icodealone opened this issue Jul 7, 2017 · 3 comments

Comments

@icodealone
Copy link

I tried this:

   post-release-actions:
        vcs-publish:                       # Publish the release to the VCS
          ask-confirmation: true
        command:
          cmd: ~/.local/bin/eb deploy --label %version%

But I just get the literal %version%. It would be very handy to have that available.

@jeanmonod
Copy link
Member

Hi @bitblower,
Yes, your request make sens. If you want, you can try to provide a PR. You can add this here: https://github.com/liip/RMT/blob/master/src/Liip/RMT/Action/CommandAction.php#L37

An other solution, if to call RMT current --raw from your deploy script. This is what I'm generally doing in such case... You can also call RMT current --raw --vcs-tag to get the associated git tag

sseidelmann pushed a commit to sseidelmann/RMT that referenced this issue Jul 14, 2017
@sseidelmann
Copy link

@bitblower Please check the Pull request if this matches your requirements

@ghost
Copy link

ghost commented Dec 30, 2019

What is the status of this issue? I think this is a basic functionality that must be available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants