Skip to content

Conversation

@RobinKnipe
Copy link
Contributor

When the release version signifies a release candidate (e.g. v3.4.24-rc, v3.4.24-rc12, etc), do not push the extra tags (from the previous examples: v3, v3.4, latest).

When the release version signifies a release candidate (e.g. `v3.4.24-rc`, `v3.4.24-rc12`, etc), do not push the extra tags (from the previous examples: `v3`, `v3.4`, `latest`).
tag_n_push "${MINOR}"
tag_n_push "${MAJOR}"
tag_n_push "latest"
if echo "${PATCH}" | grep -qvP '^v?\d+\.\d+\.\d+-rc\d*$' ; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be clearer to test $VERSION instead but this should be fine for now.

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 this pull request may close these issues.

3 participants