branch-env-vars
branch-env-vars copied to clipboard
Filter by different Tag names
From the documentation i see that i can use !tag
notation to set the environment variable, if the action is executed on a tag
Is it also possible to set different values depending on the tag name?
I would like to decide by tag name with a wildcard, so i can set different values if it is a beta release or alpha release
eg:
TEST_VAR: |
!tag>ALPHA-*:this is the value for TEST_VAR if we are on a tage named "ALPHA-0.1"
!tag>BETA-*this is the value for TEST_VAR if we are on a tage with wildcard eg: "BETA-0.1"