ci: adopt updated releasing scripts and workflows from mdfluence#26
Merged
Conversation
Adopt updated script names and improvements from mdfluence: - merge-bump.sh: adds ERR trap, default-branch sync check, explicit git add, CI check wait loop, auto squash-merge with branch deletion - publish-release.sh: renamed from commit-release.sh (same content) - Update pre-commit file pattern to match new script names
Change tag filter from 'v*' to 'v*-rc*' so deploy-test.yml only triggers on release candidate tags, not final releases.
Align with mdfluence releasing docs: - Reference merge-bump.sh and publish-release.sh - Document squash-merge flow (no manual gh pr merge step) - Improve TestPyPI install command with --extra-index-url - Correct workflow triggers table (v*-rc* / vX.Y.Z) - Simplify bump version examples
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.
Summary
Adopt the updated releasing scripts, workflow triggers, and documentation from mdfluence to align both projects' release processes.
Changes
prepare-release.sh→merge-bump.sh— adds ERR trap, default-branch sync enforcement, explicitgit add, CI check wait loop, and auto squash-merge with branch deletioncommit-release.sh→publish-release.sh— same content, clearer namedeploy-test.ymltrigger fromv*tov*-rc*so it only fires on RC tagsdocs/releasing.mdto reference new scripts, document squash-merge flow, improve TestPyPI install command, and correct workflow triggers table.pre-commit-config.yamlfile patterns to match new script namesTests performed