Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
resolves #263
With these changes the
git_revision
will be build from thegit describe
command:X.Y.Z-N-g0123456
With N = 0 we have a tagged release, with N > 0 we have devel. In the
version.py
is written:short_version
- X.Y.Zversion
- X.Y.Z or X.Y.Z-N-g0123456 (depending on release or not)full_version
- X.Y.Z-N-g0123456git_revision
- long git hashrelease
- True or FalseIf the the source is no git-repo and the
version.py
is missing, then pre-defined values ('unknown') are written toversion.py
.Overall this has two benefits:
full_version
as described aboveISRELEASED
before and after cutting release