From 64eead88221e97466ac5207004ea0949dbf0135d Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 16 Apr 2025 08:36:31 -0500 Subject: [PATCH 1/2] PYTHON-5188 Make version setting a part of the release process --- .github/workflows/release-python.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index d0cc65757..987544c91 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -3,9 +3,6 @@ name: Release on: workflow_dispatch: inputs: - version: - description: "The new version to set" - required: true following_version: description: "The post (dev) version to set" required: false @@ -26,7 +23,6 @@ env: # to 'false' when the input is set to 'false'. DRY_RUN: ${{ ! contains(inputs.dry_run, 'false') }} FOLLOWING_VERSION: ${{ inputs.following_version || '' }} - VERSION: ${{ inputs.version || '10.10.10.10' }} defaults: run: @@ -56,7 +52,6 @@ jobs: - uses: mongodb-labs/drivers-github-tools/python/pre-publish@v2 id: pre-publish with: - version: ${{ env.VERSION }} dry_run: ${{ env.DRY_RUN }} build-dist: @@ -116,7 +111,6 @@ jobs: artifactory_username: ${{ vars.ARTIFACTORY_USERNAME }} - uses: mongodb-labs/drivers-github-tools/python/post-publish@v2 with: - version: ${{ env.VERSION }} following_version: ${{ env.FOLLOWING_VERSION }} product_name: ${{ env.PRODUCT_NAME }} evergreen_project: ${{ env.EVERGREEN_PROJECT }} From a0c42552075891eceee940b66c9d020202f44323 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 17 Apr 2025 09:57:21 -0500 Subject: [PATCH 2/2] update version --- django_mongodb_backend/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_mongodb_backend/__init__.py b/django_mongodb_backend/__init__.py index d7ad70aae..da1871e91 100644 --- a/django_mongodb_backend/__init__.py +++ b/django_mongodb_backend/__init__.py @@ -1,4 +1,4 @@ -__version__ = "5.1.0b1" +__version__ = "5.1.0.dev0" # Check Django compatibility before other imports which may fail if the # wrong version of Django is installed.