Skip to content

Commit

Permalink
Output full git describe --tags to indicate number of commits since…
Browse files Browse the repository at this point in the history
… tag & current revision for local (i.e. non-release builds), since releases should all be for a version tagged revision.

Partial #638

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Nov 21, 2024
1 parent 4a29781 commit 41c1f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/version
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ if ! cd -- "${mas_dir}"; then
exit 1
fi

version_tag="$(git describe --abbrev=0 --tags 2>/dev/null)"
version_tag="$(git describe --tags 2>/dev/null)"
printf $'%s\n' "${version_tag#v}"

0 comments on commit 41c1f62

Please sign in to comment.