diff options
author | toonn <toonn@toonn.io> | 2018-06-06 00:07:05 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2018-06-06 00:44:31 +0200 |
commit | 9edc595440e6e64467d36d2f0f60ce8eee8450f8 (patch) | |
tree | 4f80279c223c215aa98f487db3a1e1dd6c05737a /doc/cheatsheet.svg | |
parent | 81e1070f91ddc139f1a6abdfda962da3b1bb4c60 (diff) | |
download | ranger-9edc595440e6e64467d36d2f0f60ce8eee8450f8.tar.gz |
Introduce a helper function for versioning
The `version_helper` function should make version changes simpler, upon a release simple bump `__version__` and change `__release__` to `True`, afterwards change `__release__` back to `False`. It also tries to call `git describe` so `ranger --version` reports a commit hash if available. This should prevent slip-ups where released versions report ambiguously as being `ranger-master x.y.z` which is what we use for non-release versions. Fixes #1197, which was a misunderstanding caused by a slip-up.
Diffstat (limited to 'doc/cheatsheet.svg')
0 files changed, 0 insertions, 0 deletions