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

FEATURE: add support for dynamic tags #42

Closed
LongLiveCHIEF opened this issue Dec 3, 2020 · 0 comments · Fixed by #43
Closed

FEATURE: add support for dynamic tags #42

LongLiveCHIEF opened this issue Dec 3, 2020 · 0 comments · Fixed by #43

Comments

@LongLiveCHIEF
Copy link
Contributor

LongLiveCHIEF commented Dec 3, 2020

allow the use of ::true or ::false after each tag to specify whether or not that tag should be produced.

This will allow the use of expressions to determine whether or not a tag should be produced.

Example - you may want to produce the X pattern under most conditions, but it doesn't
make sense to do so in the given tag is a pre-release. You could do something like:

-
  name: tagging strategy
  id: tagging-strategy
  with:
    tags: |
      %X%::${{ github.event.action != 'prerelease' }}
      %X.Y.Z%



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

Successfully merging a pull request may close this issue.

1 participant