Skip to content

fix(release): repair goreleaser tag release and package builds - #125

Merged
SchoolGuy merged 1 commit into
mainfrom
fix/release-packaging
Nov 29, 2026
Merged

SchoolGuy merged 1 commit into
mainfrom
fix/release-packaging

Conversation

@SchoolGuy

Copy link
Copy Markdown
Member

Linked Items

None

Description

The tag release failed because the RPM artifact was extracted into the repository root, leaving an untracked directory that makes GoReleaser abort on a dirty git state. Artifacts are now downloaded into a git-ignored packages directory and attached to the release as extra files instead of being embedded in the archives.

  • Split the RPM build into separate openSUSE Tumbleweed and Leap 16 CI jobs; build-rpm-docker now builds both distributions and the Tumbleweed-specific target is named accordingly.
  • Move the Debian build to Debian 13, which ships a Go version new enough for the module, and stop ignoring failures of the deb job.
  • Make the package version overridable through the VERSION variable instead of a hardcoded 0.0.1; CI derives it from the git tag.
  • Sign the release checksums, which now also cover the packages, with the imported GPG key.
  • Pin the goreleaser major version and the Go version in the release job.

Behaviour changes

None

Category

This is related to a:

  • Bugfix
  • Feature
  • Packaging
  • Docs
  • Code Quality
  • Refactoring
  • Miscellaneous

Tests

  • Unit-Tests were created
  • System-Tests were created
  • Code is already covered by Unit-Tests
  • Code is already covered by System-Tests
  • No tests required

The tag release failed because the RPM artifact was extracted into the
repository root, leaving an untracked directory that makes GoReleaser
abort on a dirty git state. Artifacts are now downloaded into a
git-ignored packages directory and attached to the release as extra
files instead of being embedded in the archives.

- Split the RPM build into separate openSUSE Tumbleweed and Leap 16
  CI jobs; build-rpm-docker now builds both distributions and the
  Tumbleweed-specific target is named accordingly.
- Move the Debian build to Debian 13, which ships a Go version new
  enough for the module, and stop ignoring failures of the deb job.
- Make the package version overridable through the VERSION variable
  instead of a hardcoded 0.0.1; CI derives it from the git tag.
- Sign the release checksums, which now also cover the packages, with
  the imported GPG key.
- Pin the goreleaser major version and the Go version in the release
  job.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-project-automation github-project-automation Bot moved this to Pull Requests in Golang CLI Nov 27, 2026
@SchoolGuy
SchoolGuy merged commit ba1086d into main Nov 29, 2026
24 checks passed
@github-project-automation github-project-automation Bot moved this from Pull Requests to Done in Golang CLI Nov 29, 2026
@SchoolGuy
SchoolGuy deleted the fix/release-packaging branch November 29, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant