Skip to content

Commit 149fe39

Browse files
authored
PYTHON-5188 Make version setting a part of the release process (#2288)
1 parent 846b1fc commit 149fe39

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/release-python.yml

-7
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@ 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"
11-
required: true
128
dry_run:
139
description: "Dry Run?"
1410
default: false
@@ -26,7 +22,6 @@ env:
2622
# to 'false' when the input is set to 'false'.
2723
DRY_RUN: ${{ ! contains(inputs.dry_run, 'false') }}
2824
FOLLOWING_VERSION: ${{ inputs.following_version || '' }}
29-
VERSION: ${{ inputs.version || '10.10.10.10' }}
3025

3126
defaults:
3227
run:
@@ -56,7 +51,6 @@ jobs:
5651
- uses: mongodb-labs/drivers-github-tools/python/pre-publish@v2
5752
id: pre-publish
5853
with:
59-
version: ${{ env.VERSION }}
6054
dry_run: ${{ env.DRY_RUN }}
6155

6256
build-dist:
@@ -118,7 +112,6 @@ jobs:
118112
artifactory_username: ${{ vars.ARTIFACTORY_USERNAME }}
119113
- uses: mongodb-labs/drivers-github-tools/python/post-publish@v2
120114
with:
121-
version: ${{ env.VERSION }}
122115
following_version: ${{ env.FOLLOWING_VERSION }}
123116
product_name: ${{ env.PRODUCT_NAME }}
124117
evergreen_project: ${{ env.EVERGREEN_PROJECT }}

0 commit comments

Comments
 (0)