Skip to content

Commit 6fe8358

Browse files
committed
Release workflow: always publish as a pre-release, to be promoted to latest by hand
1 parent a7dd587 commit 6fe8358

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎.github/workflows/build.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,10 @@ jobs:
238238
uses: softprops/action-gh-release@v2
239239
with:
240240
body_path: CHANGELIST.md
241-
# Tags like v2.0.0-beta1 are pre-releases, so they don't become "latest"
242-
prerelease: ${{ contains(github.ref_name, '-') }}
241+
# Every release is published as a pre-release, so it doesn't become the
242+
# "latest" release (which the download URLs in the docs point at) until
243+
# it's promoted by hand: gh release edit <tag> --prerelease=false --latest
244+
prerelease: true
243245
files: |
244246
CHANGELIST.md/*
245247
pluginval_Linux.zip/*

‎CLAUDE.md‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -605,11 +605,12 @@ Run internal tests via CLI:
605605
3. Commit: `git commit -am "Version X.Y.Z"`
606606
4. Tag: `git tag -a vX.Y.Z -m "X.Y.Z release"`
607607
5. Push: `git push --tags`
608-
6. Once the release binaries are published, bump the `pluginval-version` default
609-
in `validate/action.yml` and `acceptance/action.yml` (and the README tables) to the new tag
610-
611-
A tag with a hyphen (e.g. `v2.0.0-beta1`) is published as a pre-release, so it
612-
doesn't become the "latest" release that the download URLs in the docs point at.
608+
6. The tag build publishes the release as a **pre-release** (whatever the tag), so
609+
it doesn't yet become the "latest" release that the download URLs in the docs
610+
point at. Check it, then promote it by hand:
611+
`gh release edit vX.Y.Z -R Tracktion/pluginval --prerelease=false --latest`
612+
7. Bump the `pluginval-version` default in `validate/action.yml` and
613+
`acceptance/action.yml` (and the README tables) to the new tag
613614

614615
## Common Tasks for AI Assistants
615616

0 commit comments

Comments
 (0)