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 6
6
- ' v*' # Trigger only on tags starting with "v" (e.g., v1.0.0)
7
7
8
8
jobs :
9
- release :
9
+ build-and- release :
10
10
runs-on : ubuntu-latest
11
11
12
12
permissions :
21
21
with :
22
22
go-version : ' 1.24' # Use the version of Go your project requires
23
23
24
- - name : Install GoReleaser
24
+ - name : Run goreleaser
25
25
uses : goreleaser/goreleaser-action@v6
26
26
with :
27
27
version : latest # Or pin a specific version
Original file line number Diff line number Diff line change
1
+ version : 2
1
2
project_name : cf-support
2
3
builds :
3
4
- id : default
@@ -13,11 +14,11 @@ builds:
13
14
- " -s -w -X github.com/codefresh-support/codefresh-support-package/cmd.Version={{.Version}}"
14
15
15
16
archives :
16
- - format : tar.gz
17
+ - formats : [" tar.gz"]
17
18
name_template : " {{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
18
19
format_overrides :
19
20
- goos : windows
20
- format : zip # Use zip format for Windows builds
21
+ formats : [" zip"] # Use zip format for Windows builds
21
22
22
23
checksum :
23
24
name_template : " checksums.txt"
You can’t perform that action at this time.
0 commit comments