You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/release-candidate.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,14 @@ on:
4
4
workflow_dispatch:
5
5
inputs:
6
6
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.'
8
8
type: choice
9
9
required: true
10
10
default: '-s'
11
11
options:
12
12
- major
13
13
- minor
14
14
- patch
15
-
- prerelease
16
15
- '-s'
17
16
18
17
jobs:
@@ -55,6 +54,7 @@ jobs:
55
54
56
55
- name: Bump Version
57
56
id: bump_version
57
+
shell: bash
58
58
run: |
59
59
if [[ $(poetry version) == *"rc"* ]]; then
60
60
poetry version prerelease
@@ -72,7 +72,7 @@ jobs:
72
72
env:
73
73
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74
74
with:
75
-
releaseName: v${{ env.RC_SDK_VERSION }}
75
+
releaseName: v${{ env.SDK_RC_VERSION }}
76
76
doNotFailIfNotFound: 'true'
77
77
78
78
- name: Cancelling - release already exists
@@ -83,7 +83,7 @@ jobs:
83
83
- name: Add + Commit + Open PR
84
84
uses: peter-evans/create-pull-request@v5
85
85
with:
86
-
commit-message: Bump version to ${{ env.RC_SDK_VERSION }}
86
+
commit-message: Bump version to ${{ env.SDK_RC_VERSION }}
0 commit comments