Skip to content

Commit 12735ac

Browse files
authored
Merge pull request #82 from DataFog/chore/pypi
reverting pypi to stable ver
2 parents 6064d9c + 2c93450 commit 12735ac

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/publish-pypi.yml

+8-2
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)