mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Until now the snapshot versions looked something like 1.4.0~444~g4afab7c~snapshot. They include the Mumble version which they are a snapshot for at the beginning, then the revision number (the amount of commits since the last tag in git's history), followed by the latest commit's hash (prefixed by "g") and finally the word "snapshot". The problem with this approach is that it requires knowledge of the git history at least until the most recent tag. In addition to that it also requires someone to think about moving the "tag-for-ci" that marks a release-state in the master branch to be set on every release. The history requirement is not an issue for a normal clone of the repository but if someone (e.g. the CI) performs a shallow clone of the repository, then the script fails. In order to address this problem, this commit changes the version format to be 1.4.0~2020-07-02~g4afab7c67~snapshot. The revision number got replaced by the date of the most recent commit (in ISO format) and the commit hash is now abbreviated by git itself as it sees fit instead of manually truncating the commit hash at 7 characters. That way the script doesn't require knowledge of the latest tag and all the history after that. That way the script can now be run in a shallow clone of depth 1. |
||
|---|---|---|
| .. | ||
| azure-pipelines | ||
| development | ||
| server | ||
| travis-ci | ||
| extract-emojione-flags.py | ||
| generate-ApplicationPalette-class.py | ||
| generate-AUTHORS.py | ||
| generate-CHANGES.py | ||
| generate-cipherinfo.py | ||
| generate-ffdhe.py | ||
| generate-mumble_qt-qrc.py | ||
| generate-qrc.py | ||
| git2cl.pl | ||
| mkflags.py | ||
| mkini-win32.bat | ||
| mkini.sh | ||
| mklic.pl | ||
| mkwrapper.pl | ||
| mumble-overlay | ||
| mumble-version.py | ||
| mumble.appdata.xml | ||
| mumble.desktop | ||
| mumble.protocol | ||
| murmur-user-wrapper | ||
| murmur.conf | ||
| murmur.ini | ||
| murmur.init | ||
| murmur.logrotate | ||
| murmur.service | ||
| php.ini | ||
| rcc-depends.py | ||
| release.pl | ||
| transtate.py | ||
| updatetranslations.sh | ||