Skip to content

Commit 0dd8620

Browse files
committed
fix(build): handle tags correctly
1 parent a3b401e commit 0dd8620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ yellow := '\033[33m'
88
# Version settings
99

1010
git_version := `git rev-parse --short HEAD 2>/dev/null || echo "unknown"`
11-
is_unstable := `git tag --points-at | grep 'v' && echo "" || echo "-UNSTABLE"`
11+
is_unstable := `git tag --points-at | grep 'v' 2>&1 >/dev/null || echo "-UNSTABLE"`
1212
version := `git cliff --bumped-version 2>/dev/null | cut -c2- || echo "0.0.0"` + is_unstable
1313
version_placeholder := "0.0.0-UNSTABLE"
1414

0 commit comments

Comments
 (0)