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 <484615+rgoldberg@users.noreply.github.com>
  • Loading branch information
rgoldberg committed Nov 21, 2024
1 parent b1745d6 commit aabdb51
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 aabdb51

Please sign in to comment.