Skip to content

Commit b6972cc

Browse files
committed
fix: correct command syntax in gha-output-calver task
Updated the run command in the gha-output-calver task to explicitly use bash for better compatibility and error handling.
1 parent 47967bf commit b6972cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ run = 'mise trust'
4343

4444
[tasks.gha-output-calver]
4545
description = "Fetch tags and write computed CalVer to GitHub Actions output"
46-
run = 'set -euo pipefail; git fetch --tags --force; echo "version=$(./scripts/version)" >> "${GITHUB_OUTPUT:?GITHUB_OUTPUT not set}"'
46+
run = 'bash -c "set -euo pipefail; git fetch --tags --force; echo version=$(./scripts/version) >> ${GITHUB_OUTPUT:?GITHUB_OUTPUT not set}"'
4747

4848
[tasks.lint]
4949
description = "Run linting and type checking"

0 commit comments

Comments
 (0)