Skip to content

Commit 3cf9abd

Browse files
authored
PYTHON-4246 Fix release publish task (#760)
1 parent 0fbf9a0 commit 3cf9abd

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.github/workflows/release-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
find . -type d -empty -delete
6363
- uses: actions/upload-artifact@v4
6464
with:
65-
name: all-dist-${{ github.job }}
65+
name: all-dist
6666
path: "./*"
6767

6868
publish:
@@ -77,7 +77,7 @@ jobs:
7777
- name: Download all the dists
7878
uses: actions/download-artifact@v4
7979
with:
80-
name: all-dist-${{ github.job }}
80+
name: all-dist
8181
path: dist/
8282
- name: Publish distribution 📦 to PyPI
8383
uses: pypa/gh-action-pypi-publish@release/v1

bindings/python/CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
Changes in Version 1.9.1
5+
------------------------
6+
7+
- Fix bug in our release process which blocked uploading 1.9.0.
8+
49
Changes in Version 1.9.0
510
------------------------
611

bindings/python/pymongocrypt/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = '1.9.0'
15+
__version__ = '1.9.1'
1616

1717
_MIN_LIBMONGOCRYPT_VERSION = '1.8.0'

bindings/python/release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ rm -rf dist .venv build libmongocrypt pymongocrypt/*.so pymongocrypt/*.dll pymon
2727

2828
function get_libmongocrypt() {
2929
TARGET=$1
30-
NOCRYPTO_SO=$2
30+
MONGOCRYPT_SO=$2
3131
rm -rf build libmongocrypt pymongocrypt/*.so pymongocrypt/*.dll pymongocrypt/*.dylib
3232
curl -O https://s3.amazonaws.com/mciuploads/libmongocrypt-release/$TARGET/${BRANCH}/${REVISION}/libmongocrypt.tar.gz
3333
mkdir libmongocrypt
3434
tar xzf libmongocrypt.tar.gz -C ./libmongocrypt
35-
chmod +x ${NOCRYPTO_SO}
36-
cp ${NOCRYPTO_SO} pymongocrypt/
35+
chmod +x ${MONGOCRYPT_SO}
36+
cp ${MONGOCRYPT_SO} pymongocrypt/
3737
rm -rf ./libmongocrypt libmongocrypt.tar.gz
3838
}
3939

0 commit comments

Comments
 (0)