Repository navigation
CD: GitHub Actions workflow, publish all releases - #20958
adamjstewart wants to merge 1 commit into
Conversation
Signed-off-by: Adam J. Stewart <ajstewart426@gmail.com>
|
The current recommendation is a common pattern where you can kick off a release from the CLI with |
|
I guess my experience has been that non-v tags are more common than non-released tags, but don't have statistics to back this up. Completely fine with closing if that's your preference. |
|
+1 @konstin, IMO there are different (good!) reasons to use either pattern but in practice tag-originated release flows have some advantages in terms of the flow of state (allowing a full release process to complete before the GitHub release itself is created/mutated in a visible way). I think we could tighten the tag pattern, though -- maybe we could suggest |
|
Personally, I do In my projects which use tag-triggered releases |
|
(I think we can / should do better than "*" that drives me crazy) |
Summary
The previous trigger published all tags starting with a
v, which includesvery-bad-ideaand excludes1.0.0. The new trigger publishes all releases made through GitHub. Note that some projects do not include avin their tags, but some projects also don't publish releases, only tags.Test Plan
I've been using this workflow for years. Documentation can be found here: https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#release