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

Can there be a stable/latest branch to follow? #113

Open
ahayzen opened this issue Dec 7, 2024 · 1 comment
Open

Can there be a stable/latest branch to follow? #113

ahayzen opened this issue Dec 7, 2024 · 1 comment
Labels
ci Build infra and CI related work enhancement New feature or request

Comments

@ahayzen
Copy link

ahayzen commented Dec 7, 2024

Disko have a branch that contains the latest stable release github:nix-community/disko/latest.

It would be nice to have similar for nix-flatpak as then I could use github:gmodena/nix-flatpak/latest in the flake.nix, have CI update the lock file and perform tests to ensure that things still work.

Currently I need to monitor this repo and manually update the git url to match the ref of a release.

@gmodena
Copy link
Owner

gmodena commented Dec 8, 2024

Hi @ahayzen,

Thanks for reaching out. I am not fond of the long-lived branches workflow, so I don't see a stable branch happening. However, I think what you're asking could be addressed by simply adding a latest tag that points to the most recent tagged commit. I am not familiar with disko, but I suppose that is what they are doing: https://github.com/nix-community/disko/tags.

If this does not break the flakeHub publication workflow, I see no problem with auto-tagging with latest on release.

@gmodena gmodena added enhancement New feature or request ci Build infra and CI related work labels Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Build infra and CI related work enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants