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

Handle updating unstable packages #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

devusb
Copy link

@devusb devusb commented Nov 24, 2024

I have a few packages that track latest commit of a branch rather than a version -- typically I handle that with the --version=branch argument to nix-update. To handle those as part of the action, I added a check against a package version parameter -- if it contains the word unstable (which is what nix-update and the nixpkgs versioning convention use to denote packages like this), then it does --version=branch; otherwise, it does --version=stable (which should be the default mode).

I also bumped create-pull-request as I ran into this issue running the action if an PR from a previous run was still open.

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

Successfully merging this pull request may close these issues.

1 participant