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

Picking up pre-release candidates even when branch is specified #321

Open
stephen-huan opened this issue Jan 21, 2025 · 0 comments
Open

Comments

@stephen-huan
Copy link

stephen-huan commented Jan 21, 2025

For sioyek nix-update is generating an update (NixOS/nixpkgs#358123) that changes the unstable version 2.0.0-unstable-2024-09-29 (tracking the development) branch to the pre-release candidate sioyek3-alpha0-unstable-2025-01-06. This happens even though the branch is explicitly specified with --version branch=development.

passthru.updateScript = nix-update-script {
  extraArgs = [
    "--version"
    "branch=development"
  ];
};

I would like nix-update to track only commits to the development branch and ignore releases/tags (since the base version is not an accurate reflection of the unstable version). Is there a way to tell nix-update this?

Perhaps related to #221, #246 but simpler because we don't need to determine whether a release is pre-release, just ignore all releases/tags entirely since we get the version information from the branch.

cf. #221, #246, #11, #263.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant