Skip to content

Commit 13d4806

Browse files
authored
Fix OS image filename generation from pushed release tags (#443)
* Troubleshoot determination of OS image filename for pushed release tags * Continue troubleshooting * Try to fix handling of tag refs * Delete troubleshooting code
1 parent 1fc6e46 commit 13d4806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-os.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ jobs:
361361
)"
362362
elif [[ "${{ github.ref_type }}" == "tag" && "${{ github.ref }}" == refs/tags/$TAG_PREFIX* ]]; then
363363
version="${{ github.ref }}"
364-
version="v${version%"refs/tags/$TAG_PREFIX"}"
364+
version="v${version#"refs/tags/$TAG_PREFIX"}"
365365
else
366366
version="$(printf "%.7s" "${{ github.sha }}")"
367367
fi

0 commit comments

Comments
 (0)