File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -146,10 +146,16 @@ jobs:
146146 # Create and push tag
147147 git tag v$BETA_VERSION
148148
149- # Push both the commit and the tag
150- git push origin HEAD:dev
149+ # Create a new branch for the version bump
150+ git checkout -b bump-version-to-$BETA_VERSION
151+
152+ # Push the branch and tag
153+ git push origin bump-version-to-$BETA_VERSION
151154 git push origin v$BETA_VERSION
152155
156+ # Create a pull request for the version bump
157+ gh pr create --base dev --head bump-version-to-$BETA_VERSION --title "Bump version to $BETA_VERSION" --body "Automated version bump to $BETA_VERSION"
158+
153159 # Create GitHub release
154160 gh release create v$BETA_VERSION --prerelease --title "Beta Release v$BETA_VERSION" --notes "Automated beta release from dev branch"
155161 - name : Publish to PyPI as Beta
You can’t perform that action at this time.
0 commit comments