Skip to content

Commit c7ca471

Browse files
committed
fix: Fix nightly release tag
1 parent 6faf3c3 commit c7ca471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nightly-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
# All the changes will be overwritten by the upstream main branch
5858
git reset --hard src/main
5959
git push origin main -f
60-
let sha_short = (git rev-parse --short origin/main | str trim | str substring 0..7)
60+
let sha_short = (git rev-parse --short origin/main | str trim | str substring 0..6)
6161
let tag_name = $'nightly-($sha_short)'
6262
if (git ls-remote --tags origin $tag_name | is-empty) {
6363
git tag -a $tag_name -m $'Nightly build from ($sha_short)'

0 commit comments

Comments
 (0)