Skip to content

Commit 3195a81

Browse files
feloyclaude
andauthored
fix(ci): force bash shell for set-version step on Windows (#10)
PowerShell (the default shell on Windows runners) does not support bash parameter expansion syntax like ${VERSION#v}. Adding `shell: bash` forces Git Bash, which is available on Windows GitHub-hosted runners. Signed-off-by: Philippe Martin <phmartin@redhat.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 083530b commit 3195a81

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
run: cargo install cargo-edit --locked
3636

3737
- name: Set version from tag
38+
shell: bash
3839
run: |
3940
VERSION="${{ github.ref_name }}"
4041
cargo set-version "${VERSION#v}"

0 commit comments

Comments
 (0)