From d4d1d479561975ffc9998de9bf4ce7f6e355f27d Mon Sep 17 00:00:00 2001 From: Sid Mohan Date: Tue, 6 May 2025 19:28:04 -0700 Subject: [PATCH] reverting pypi to stable ver --- .github/workflows/publish-pypi.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index d22c048e..e8d44a8f 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -146,10 +146,16 @@ jobs: # Create and push tag git tag v$BETA_VERSION - # Push both the commit and the tag - git push origin HEAD:dev + # Create a new branch for the version bump + git checkout -b bump-version-to-$BETA_VERSION + + # Push the branch and tag + git push origin bump-version-to-$BETA_VERSION git push origin v$BETA_VERSION + # Create a pull request for the version bump + gh pr create --base dev --head bump-version-to-$BETA_VERSION --title "Bump version to $BETA_VERSION" --body "Automated version bump to $BETA_VERSION" + # Create GitHub release gh release create v$BETA_VERSION --prerelease --title "Beta Release v$BETA_VERSION" --notes "Automated beta release from dev branch" - name: Publish to PyPI as Beta