Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use git-describe-semver for generating release ver #514

Merged

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Feb 24, 2023

Update Makefile to replace VERSION variable set via git describe --always --long --dirty with REPO_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 running git-describe-semver or a fallback string of YOU_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.

@atc0005 atc0005 added enhancement New feature or request dependencies builds packages Related to generated packages for this project (e.g., RPM, DEB) labels Feb 24, 2023
@atc0005 atc0005 added this to the v0.11.2 milestone Feb 24, 2023
@atc0005 atc0005 self-assigned this Feb 24, 2023
Update Makefile to replace `VERSION` variable set via
`git describe --always --long --dirty` with `REPO_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 running `git-describe-semver`
or a fallback string of `YOU_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.
@atc0005 atc0005 force-pushed the use-git-describe-semver-for-generating-semver-release-ver branch from 9c362f3 to 7877f2d Compare February 24, 2023 10:50
@atc0005 atc0005 merged commit 436b892 into master Feb 24, 2023
@atc0005 atc0005 deleted the use-git-describe-semver-for-generating-semver-release-ver branch February 24, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds dependencies enhancement New feature or request packages Related to generated packages for this project (e.g., RPM, DEB)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant