Skip to content

Commit eae1d25

Browse files
authored
PYTHON-5188 Make version setting a part of the release process (#330)
1 parent a879ce5 commit eae1d25

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.github/workflows/release.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
dry_run:
@@ -25,7 +22,6 @@ env:
2522
# to 'false' when the input is set to 'false'.
2623
DRY_RUN: ${{ ! contains(inputs.dry_run, 'false') }}
2724
FOLLOWING_VERSION: ${{ inputs.following_version || '' }}
28-
VERSION: ${{ inputs.version || '10.10.10.10' }}
2925

3026
defaults:
3127
run:
@@ -55,7 +51,6 @@ jobs:
5551
- uses: mongodb-labs/drivers-github-tools/python/pre-publish@v2
5652
id: pre-publish
5753
with:
58-
version: ${{ env.VERSION }}
5954
dry_run: ${{ env.DRY_RUN }}
6055

6156
build-dist:
@@ -115,7 +110,6 @@ jobs:
115110
artifactory_username: ${{ vars.ARTIFACTORY_USERNAME }}
116111
- uses: mongodb-labs/drivers-github-tools/python/post-publish@v2
117112
with:
118-
version: ${{ env.VERSION }}
119113
following_version: ${{ env.FOLLOWING_VERSION }}
120114
product_name: ${{ env.PRODUCT_NAME }}
121115
evergreen_project: ${{ env.EVERGREEN_PROJECT }}

0 commit comments

Comments
 (0)