Skip to content

Commit 40fdff1

Browse files
committed
Fix release candidate workflow
1 parent aea5e92 commit 40fdff1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release-candidate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: 'The type of version bump. All versions will have `rc*` appended. Use `prerelease` to bump the `rc` version only. Use `-s` for no change.'
7+
description: 'The type of version bump. All versions will have `rc*` appended. `rc` version bumps will happen automatically, so select the type of version bump for the final release. Use `-s` for no change.'
88
type: choice
99
required: true
1010
default: '-s'
1111
options:
1212
- major
1313
- minor
1414
- patch
15-
- prerelease
1615
- '-s'
1716

1817
jobs:
@@ -55,6 +54,7 @@ jobs:
5554

5655
- name: Bump Version
5756
id: bump_version
57+
shell: bash
5858
run: |
5959
if [[ $(poetry version) == *"rc"* ]]; then
6060
poetry version prerelease
@@ -72,7 +72,7 @@ jobs:
7272
env:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7474
with:
75-
releaseName: v${{ env.RC_SDK_VERSION }}
75+
releaseName: v${{ env.SDK_RC_VERSION }}
7676
doNotFailIfNotFound: 'true'
7777

7878
- name: Cancelling - release already exists
@@ -83,7 +83,7 @@ jobs:
8383
- name: Add + Commit + Open PR
8484
uses: peter-evans/create-pull-request@v5
8585
with:
86-
commit-message: Bump version to ${{ env.RC_SDK_VERSION }}
86+
commit-message: Bump version to ${{ env.SDK_RC_VERSION }}
8787
branch: rc-${{ env.SDK_VERSION }}
8888
delete-branch: false
8989
base: main

0 commit comments

Comments
 (0)