Skip to content

Only push Release Candidate tags#130

Open
RobinKnipe wants to merge 1 commit into
masterfrom
push-patch-only-4rc
Open

Only push Release Candidate tags#130
RobinKnipe wants to merge 1 commit into
masterfrom
push-patch-only-4rc

Conversation

@RobinKnipe

Copy link
Copy Markdown
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`).
Comment thread publish.sh
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
Copy Markdown
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.

2 participants