Skip to content

Commit 8dbfb60

Browse files
authored
PYTHON-5188 Make version setting a part of the release process (#288)
* PYTHON-5188 Make version setting a part of the release process * update version
1 parent c27064c commit 8dbfb60

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.github/workflows/release-python.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: Release
33
on:
44
workflow_dispatch:
55
inputs:
6-
version:
7-
description: "The new version to set"
8-
required: true
96
following_version:
107
description: "The post (dev) version to set"
118
required: false
@@ -26,7 +23,6 @@ env:
2623
# to 'false' when the input is set to 'false'.
2724
DRY_RUN: ${{ ! contains(inputs.dry_run, 'false') }}
2825
FOLLOWING_VERSION: ${{ inputs.following_version || '' }}
29-
VERSION: ${{ inputs.version || '10.10.10.10' }}
3026

3127
defaults:
3228
run:
@@ -56,7 +52,6 @@ jobs:
5652
- uses: mongodb-labs/drivers-github-tools/python/pre-publish@v2
5753
id: pre-publish
5854
with:
59-
version: ${{ env.VERSION }}
6055
dry_run: ${{ env.DRY_RUN }}
6156

6257
build-dist:
@@ -116,7 +111,6 @@ jobs:
116111
artifactory_username: ${{ vars.ARTIFACTORY_USERNAME }}
117112
- uses: mongodb-labs/drivers-github-tools/python/post-publish@v2
118113
with:
119-
version: ${{ env.VERSION }}
120114
following_version: ${{ env.FOLLOWING_VERSION }}
121115
product_name: ${{ env.PRODUCT_NAME }}
122116
evergreen_project: ${{ env.EVERGREEN_PROJECT }}

django_mongodb_backend/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "5.1.0b1"
1+
__version__ = "5.1.0.dev0"
22

33
# Check Django compatibility before other imports which may fail if the
44
# wrong version of Django is installed.

0 commit comments

Comments
 (0)