Skip to content

Release from any branch - #1379

Merged
epompeii merged 1 commit into
develfrom
u/ep/release-any-branch
Oct 28, 2026
Merged

epompeii merged 1 commit into
develfrom
u/ep/release-any-branch

Conversation

@epompeii

Copy link
Copy Markdown
Member

release_version.yml now runs from any branch, the same way as rebase_cloud.yml. It no longer fails when it is dispatched from a branch other than devel, and it always checks out and releases devel. The Actions UI dispatches from the default branch, so before this change a release started from the UI always failed at the Require devel step.

  • The Require devel step is removed.
  • actions/checkout takes ref: devel. With fetch-depth: 0 it runs git checkout --force -B devel refs/remotes/origin/devel, so scripts/tag.sh still sees a local devel that equals origin/devel.
  • The release checklist has 1 command with no --ref.

GitHub runs the workflow file from the dispatched ref. Until the next production deploy moves the default branch, use --ref devel for a release:

gh workflow run release_version.yml --repo bencherdev/bencher --ref devel -f bump=patch

@epompeii
epompeii marked this pull request as ready for review October 26, 2026 23:05
@epompeii
epompeii merged commit 58a33f7 into devel Oct 28, 2026
38 checks passed
@epompeii
epompeii deleted the u/ep/release-any-branch branch October 28, 2026 00:53
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.

1 participant