Skip to content

Commit 64eead8

Browse files
committed
PYTHON-5188 Make version setting a part of the release process
1 parent c27064c commit 64eead8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
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 }}

0 commit comments

Comments
 (0)