Skip to content

Commit af04e69

Browse files
committed
chore: specify shell for version extraction in release workflow
- Updated the release workflow to explicitly set the shell to bash for the version extraction steps, ensuring consistent execution across environments.
1 parent 935316c commit af04e69

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050

5151
- name: Extract and set version
5252
id: version
53+
shell: bash
5354
run: |
5455
VERSION_TAG="${{ github.event.inputs.version || github.ref_name }}"
5556
# Remove 'v' prefix if present (e.g., v1.0.0 -> 1.0.0)
@@ -143,6 +144,7 @@ jobs:
143144

144145
- name: Extract version
145146
id: version
147+
shell: bash
146148
run: |
147149
VERSION_TAG="${{ github.event.inputs.version || github.ref_name }}"
148150
# Remove 'v' prefix if present (e.g., v1.0.0 -> 1.0.0)

0 commit comments

Comments
 (0)