Skip to content

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

uplift: init at 2.26.0 #431097

wants to merge 1 commit into from

Conversation

yzhou216
Copy link
Contributor

@yzhou216 yzhou216 commented Aug 5, 2025

Resolves #427996

cc @rzsita for testing

Things done


Add a 👍 reaction to pull requests you find important.

@yzhou216 yzhou216 requested a review from Sigmanificient August 6, 2025 00:43
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Aug 6, 2025
@yzhou216
Copy link
Contributor Author

yzhou216 commented Aug 6, 2025

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 431097

Logs: https://github.com/yzhou216/nixpkgs-review-gha/actions/runs/16764600720


x86_64-linux

✅ 1 package built:
  • uplift

aarch64-linux

✅ 1 package built:
  • uplift

x86_64-darwin (sandbox = true)

✅ 1 package built:
  • uplift

aarch64-darwin (sandbox = true)

✅ 1 package built:
  • uplift

Comment on lines +22 to +26
ldflags = with finalAttrs.src; [
"-s"
"-w"
"-X=github.com/gembaadvantage/uplift/internal/version.version=${tag}"
"-X=github.com/gembaadvantage/uplift/internal/version.gitCommit=${tag}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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}";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
homepage = "https://github.com/gembaadvantage/uplift";
homepage = "https://upliftci.dev/";
downloadPage = "https://github.com/gembaadvantage/uplift";

Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: uplift
3 participants