Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,42 @@
version: 2
project_name: microcks-cli

before:
hooks:
- go mod tidy

builds:
- main: ./main.go
binary: microcks-cli
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64

archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip

release:
name_template: "Microcks CLI v{{.Tag}}"
draft: true
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why putting this as a draft? Do you know what is actually the default value? Does not look clear when looking at https://goreleaser.com/customization/release/#github

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It allows the release to be prepared, reviewed, and finalized before being officially published.

disable: false
prerelease: auto
github:
owner: microcks
name: microcks-cli

universal_binaries:
- replace: true
Expand Down Expand Up @@ -36,3 +65,11 @@ sboms:

checksum:
name_template: "checksums.txt"

changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- typo