chainguard-dev / apko

Build OCI images from APK packages directly without Dockerfile
https://apko.dev
Apache License 2.0
1.17k stars 116 forks source link

fix(ci): mark GitHub releases as latest from prerelease #1277

Closed p5 closed 3 hours ago

p5 commented 1 month ago

Closes #1276 Closes #639

By using pre-releases, new updates are not discoverable by users and tooling. GitHub does not promote these as much, and tools like Renovate and Dependabot will exclude all pre-release packages by default.

This PR changes the Goreleaser configuration to no longer create pre-release packages, and instead create proper releases which will be available at the https://github.com/chainguard-dev/apko/releases/latest URL.

While I do not know anything about goreleaser, there is a prerelease: true line which does look to be the cause for this.

This appears to have been set when GoReleaser was first introduced to this repository over two years ago, and I assume may have been something that has been overlooked.

p5 commented 1 month ago

Do I need to setup a PGP key in order to commit to this repository? I am already signing commits using my SSH key, which I would hope is enough for flipping a boolean.

xnox commented 2 weeks ago

a new release got cut and marked as latest; and there is no need to default to marking things as latest, as we can always edit a release after all the artifacts are built.

xnox commented 3 hours ago

and we keep forgetting to mark releases as released.

p5 commented 3 hours ago

Thanks!