Skip to content

Commit

Permalink
Merge pull request #177 from klihub/fixes/release-0.2
Browse files Browse the repository at this point in the history
[release-0.2] scripts: don't make unknown version invalid (cherry-picked 97a3e65).
  • Loading branch information
marquiz committed Oct 25, 2023
2 parents 6c72153 + af69e52 commit 95e1402
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build/get-buildid
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ parent_version() {
}

unknown_version() {
VERSION="0.0.0-$(date +%Y%m%d%H%M)"
VERSION="v0.0.0-$(date +%Y%m%d%H%M)"
BUILDID=unknown
}

Expand All @@ -146,6 +146,8 @@ package_versions() {
RPM=$VERSION
DEB=$VERSION
;;
v[0-9.]*)
;;
*)
fail "can't parse version $VERSION"
;;
Expand Down

0 comments on commit 95e1402

Please sign in to comment.