Skip to content

Handle updating unstable packages#4

Open
devusb wants to merge 3 commits intoselfuryon:mainfrom
devusb:unstable-version
Open

Handle updating unstable packages#4
devusb wants to merge 3 commits intoselfuryon:mainfrom
devusb:unstable-version

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