Use git-describe-semver for generating release ver #514
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.
Update Makefile to replace
VERSION
variable set viagit describe --always --long --dirty
withREPO_VERSION
variable. This variable is first looked for externally (e.g., to allow being set via GitHub Actions) before being set to either the output from runninggit-describe-semver
or a fallback string ofYOU_NEED_TO_RUN_depsinstall_makefile_recipe
to suggest to next steps for installing required build dependencies.The RELEASE_TAG variable is still provided via
git describe --exact-match --tags
to force an exact match of a git tag in order to match what is used with a GitHub project release version. This value is used with download links entries in generated*-links.txt
files.