Skip to content

Commit d180173

Browse files
committed
Tidy up the version if we were on a branch with a / in it.
Branches with '/' in are annoying, but this is one time when we can't change that.
1 parent cd34cf2 commit d180173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
id: version
158158
run: |
159159
eval "$(crosscompile/ci-vars)"
160-
version="${CI_BRANCH_VERSION}"
160+
version="${CI_BRANCH_VERSION//\//-}"
161161
echo "This is version: $version"
162162
leafname="PRMinXML-$version.zip"
163163
echo "version=$version" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)