File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 66 - ' v*' # Trigger only on tags starting with "v" (e.g., v1.0.0)
77
88jobs :
9- release :
9+ build-and- release :
1010 runs-on : ubuntu-latest
1111
1212 permissions :
2121 with :
2222 go-version : ' 1.24' # Use the version of Go your project requires
2323
24- - name : Install GoReleaser
24+ - name : Run goreleaser
2525 uses : goreleaser/goreleaser-action@v6
2626 with :
2727 version : latest # Or pin a specific version
Original file line number Diff line number Diff line change 1+ version : 2
12project_name : cf-support
23builds :
34 - id : default
@@ -13,11 +14,11 @@ builds:
1314 - " -s -w -X github.com/codefresh-support/codefresh-support-package/cmd.Version={{.Version}}"
1415
1516archives :
16- - format : tar.gz
17+ - formats : [" tar.gz"]
1718 name_template : " {{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
1819 format_overrides :
1920 - goos : windows
20- format : zip # Use zip format for Windows builds
21+ formats : [" zip"] # Use zip format for Windows builds
2122
2223checksum :
2324 name_template : " checksums.txt"
You can’t perform that action at this time.
0 commit comments