Repository navigation
CI | Publish a release when the version is bumped - #5
Merged
Merged
Conversation
Tags pushed by Release Version use GITHUB_TOKEN, which never triggers other workflows, so 0.0.8 and 0.1.0 were tagged without a release. A dispatch on the tag's ref is the one trigger that token can start. Also moves the upload action off v1, which runs on a retired Node.js.
Dispatches Release on the new tag, since the tag push alone doesn't start it when made with GITHUB_TOKEN.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Release Version pushes its tag with
GITHUB_TOKEN, which doesn't trigger other workflows, so Release never ran for0.0.8or0.1.0. The latest release is still0.0.7.release.yml: addworkflow_dispatch, and movesoftprops/action-gh-releasefromv1tov2.release_version.yml: after pushing the tag, dispatch the release on it (actions: write):After merging
0.2.0.gh workflow run release.yml --ref <tag>.