Skip to content

Fix Windows build: use bash shell for gradle.properties update step#7531

Merged
karianna merged 1 commit intoPCGen:masterfrom
karianna:martijn-verburg/fix-windows-gradle-props
Feb 27, 2026
Merged

Fix Windows build: use bash shell for gradle.properties update step#7531
karianna merged 1 commit intoPCGen:masterfrom
karianna:martijn-verburg/fix-windows-gradle-props

Conversation

@karianna
Copy link
Contributor

The Update gradle.properties with release version step in build_release uses bash syntax (variable assignment, sed, parameter expansion) which fails on Windows where the default shell is PowerShell.

Adding shell: bash forces the step to run in Git Bash on Windows, fixing the error:

TAG_NAME=v6.09.08.001: The term 'TAG_NAME=v6.09.08.001' is not recognized...

The 'Update gradle.properties' step in build_release uses bash syntax
(variable assignment, sed, parameter expansion) which fails on Windows
where the default shell is PowerShell. Adding 'shell: bash' fixes this.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@karianna karianna merged commit 0694e93 into PCGen:master Feb 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant