Skip to content

ci: introduced goreleaser#24

Merged
Ma11hewThomas merged 1 commit into
ctrf-io:mainfrom
fredbi:ci/release-binary
Nov 23, 2025
Merged

ci: introduced goreleaser#24
Ma11hewThomas merged 1 commit into
ctrf-io:mainfrom
fredbi:ci/release-binary

Conversation

@fredbi
Copy link
Copy Markdown
Collaborator

@fredbi fredbi commented Nov 23, 2025

This PR proposes to use the goreleaser tool to automate releases.

It builds a github release with binary artifacts and notes.

  • .goreleaser config with multi-platform binary builds, binary compaction (upx) and release notes produced by the github API
  • CI workflow that runs goreleaser on push tag events

I've been able to test the process on my fork, including the final step (changelog using API, create release in github).

The workflow created a release that looks like this on my fork: https://github.com/fredbi/go-ctrf-json-reporter/releases

You might want to adapt the naming conventions for the archives. These are just the (sensible) defaults from goreleaser.
The changelog is obtained from github API and is not great. You might want to improve this at some point.
Note: on my fork, since it is the first release, the changelog captures the full history.

This PR proposes to use the goreleaser tool to automate releases.

It builds a github release with binary artifacts and notes.

* .goreleaser config with multi-platform binary builds, binary
  compaction (upx) and release notes produced by the github API
* CI workflow that runs goreleaser on push tag events

Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
@fredbi fredbi requested a review from Ma11hewThomas November 23, 2025 13:55
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 19612212583

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 58.989%

Totals Coverage Status
Change from base Build 19002974118: 0.0%
Covered Lines: 210
Relevant Lines: 356

💛 - Coveralls

@Ma11hewThomas Ma11hewThomas merged commit 5b60165 into ctrf-io:main Nov 23, 2025
6 checks passed
@fredbi fredbi mentioned this pull request Nov 23, 2025
@Ma11hewThomas
Copy link
Copy Markdown
Contributor

Thanks!

@fredbi fredbi deleted the ci/release-binary branch November 23, 2025 19:28
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.

3 participants