-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
uplift: init at 2.26.0 #431097
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
base: master
Are you sure you want to change the base?
uplift: init at 2.26.0 #431097
Conversation
|
ldflags = with finalAttrs.src; [ | ||
"-s" | ||
"-w" | ||
"-X=github.com/gembaadvantage/uplift/internal/version.version=${tag}" | ||
"-X=github.com/gembaadvantage/uplift/internal/version.gitCommit=${tag}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ldflags = with finalAttrs.src; [ | |
"-s" | |
"-w" | |
"-X=github.com/gembaadvantage/uplift/internal/version.version=${tag}" | |
"-X=github.com/gembaadvantage/uplift/internal/version.gitCommit=${tag}" | |
ldflags = [ | |
"-s" | |
"-w" | |
"-X=github.com/gembaadvantage/uplift/internal/version.version=v${finalAttrs.version}" | |
"-X=github.com/gembaadvantage/uplift/internal/version.gitCommit=v${finalAttrs.version}" |
Using finalAttrs.src.tag
here would break when overriding the src
with something that doesn't have a tag
attribute (e.g. a local path).
and plays nicely with other tools. | ||
''; | ||
homepage = "https://github.com/gembaadvantage/uplift"; | ||
changelog = "https://github.com/gembaadvantage/uplift/releases/tag/${finalAttrs.src.tag}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changelog = "https://github.com/gembaadvantage/uplift/releases/tag/${finalAttrs.src.tag}"; | |
changelog = "https://github.com/gembaadvantage/uplift/releases/tag/v${finalAttrs.version}"; |
workflow. It adheres to the Semantic Versioning specification | ||
and plays nicely with other tools. | ||
''; | ||
homepage = "https://github.com/gembaadvantage/uplift"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
homepage = "https://github.com/gembaadvantage/uplift"; | |
homepage = "https://upliftci.dev/"; | |
downloadPage = "https://github.com/gembaadvantage/uplift"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestions. #367739 is not yet resolved, and I think this is currently person preferences. I much prefer to use src.tag
over version
since it reduces the error in the future if the upstream changes the tag prefix.
Resolves #427996
cc @rzsita for testing
Things done
passthru.tests
.nixpkgs-review
on this PR. See nixpkgs-review usage../result/bin/
.Add a 👍 reaction to pull requests you find important.