Skip to content

Commit dc03273

Browse files
authored
PYTHON-5188 Make version setting a part of the release process (#999)
1 parent eacb5fa commit dc03273

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: Python 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:
@@ -24,7 +21,6 @@ env:
2421
# to 'false' when the input is set to 'false'.
2522
DRY_RUN: ${{ ! contains(inputs.dry_run, 'false') }}
2623
FOLLOWING_VERSION: ${{ inputs.following_version || '' }}
27-
VERSION: ${{ inputs.version || '10.10.10.10' }}
2824

2925
defaults:
3026
run:
@@ -54,7 +50,6 @@ jobs:
5450
- uses: mongodb-labs/drivers-github-tools/python/pre-publish@v2
5551
id: pre-publish
5652
with:
57-
version: ${{ env.VERSION }}
5853
working_directory: ./bindings/python
5954
dry_run: ${{ env.DRY_RUN }}
6055
tag_template: "pymongocrypt-${VERSION}"
@@ -117,7 +112,6 @@ jobs:
117112
artifactory_username: ${{ vars.ARTIFACTORY_USERNAME }}
118113
- uses: mongodb-labs/drivers-github-tools/python/post-publish@v2
119114
with:
120-
version: ${{ env.VERSION }}
121115
following_version: ${{ env.FOLLOWING_VERSION }}
122116
working_directory: ./bindings/python
123117
product_name: ${{ env.PRODUCT_NAME }}

0 commit comments

Comments
 (0)