sassoftware / relic

Relic is a service and a tool for adding digital signatures to operating system packages for Linux and Windows
Apache License 2.0
151 stars 41 forks source link

fix: Adds missing build number to ./scripts/version.sh #13

Closed antoinedeschenes closed 2 years ago

antoinedeschenes commented 2 years ago

In ./scripts/version.sh, non-tagged builds omit the number of commits in the resulting version. ex. building master simply outputs 7.3.0+ without the number of commits.

example:
$ git describe --tags --dirty=+
v7.4.1-4-gde63e37

before:
v7.4.1-4-gde63e37 -> 7.4.1+

after:
v7.4.1-4-gde63e37 -> 7.4.1+4
antoinedeschenes commented 2 years ago

@mtharp