We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01967be commit a481736Copy full SHA for a481736
.github/scripts/bump-version.sh
@@ -0,0 +1,5 @@
1
+#!/usr/bin/env bash
2
+set -eu
3
+
4
+CURRENT_VERSION=$(NO_EXT=1 python setup.py --version)
5
+sed -i '' "s/__version__ = \"${CURRENT_VERSION}\"/__version__ = \"$1\"/" "pymongoarrow/version.py"
.github/workflows/release-python.yml
@@ -120,6 +120,7 @@ jobs:
120
- uses: mongodb-labs/drivers-github-tools/python-labs/post-publish@v2
121
with:
122
following_version: ${{ env.FOLLOWING_VERSION }}
123
+ version_bump_script: ./../../.github/scripts/bump-version.sh
124
product_name: ${{ env.PRODUCT_NAME }}
125
token: ${{ github.token }}
126
dry_run: ${{ env.DRY_RUN }}
0 commit comments