Open damiankorcz opened 3 months ago
Thanks for working on this! Ideally I think we'd want to poke at ghcr.io with skopeo to get the latest versions instead of putting the versions in the justfile, but this will do the job!
(I'll let the others chime in with reviews, thanks again!)
Note to self: Run the just --unstable --fmt -f
command on the file before submitting 😅
Dang I totally forgot about this issue: https://github.com/ublue-os/bluefin/issues/832
Description
This implements the feature mentioned in #251. I've tested it locally on my bluefin-nvidia install.
Usage
ujust toggle-release
to get a selection menu of available releases. Enter on the release you want and it should trigger an appropriaterpm-ostree rebase
for your current image.ujust toggle-release <option>
to directly run the rebase; skipping the selection menu e.g.ujust toggle-release 39
. Available options:latest
gts
40
39
38
You are already on this release!
and it will exit the script.ujust toggle-release help
to see the description on how to use this command.