File tree Expand file tree Collapse file tree 2 files changed +25
-33
lines changed Expand file tree Collapse file tree 2 files changed +25
-33
lines changed Original file line number Diff line number Diff line change 17
17
runs-on : macos-latest-large
18
18
steps :
19
19
- name : Checkout
20
- uses : actions/checkout@v3
20
+ uses : actions/checkout@v4
21
21
with :
22
22
fetch-depth : 0
23
23
28
28
# password: ${{ secrets.DOCKER_PASSWORD }}
29
29
30
30
- name : Set up Go
31
- uses : actions/setup-go@v3
31
+ uses : actions/setup-go@v5
32
32
with :
33
- go-version : 1.23
33
+ go-version : 1.24.1
34
34
35
35
- name : Set Tag Name
36
36
id : tagName
62
62
- name : Run GoReleaser
63
63
uses : goreleaser/goreleaser-action@v6
64
64
with :
65
- version : " latest "
66
- args : release
65
+ version : " 2.8.2 "
66
+ args : release --clean --verbose
67
67
env :
68
68
GITHUB_TOKEN : ${{secrets.PUBLISHER_TOKEN}}
69
69
GORELEASER_CURRENT_TAG : ${{steps.tagName.outputs.tag-name}}
Original file line number Diff line number Diff line change @@ -12,34 +12,34 @@ before:
12
12
- go mod tidy
13
13
14
14
builds :
15
- - << : &build_defaults
16
- binary : bin/sail
17
- main : ./
18
- id : macos
19
- goos : [darwin]
20
- goarch : [amd64, arm64]
21
-
22
- - << : *build_defaults
23
- id : linux
24
- goos : [linux]
25
- goarch : [386, arm, amd64, arm64]
15
+ - id : windows
16
+ goos : [windows]
17
+ goarch : ['386', amd64, arm64]
26
18
env :
27
19
- CGO_ENABLED=0
28
-
29
- - << : *build_defaults
30
- id : windows
31
- goos : [windows]
32
- goarch : [386, amd64, arm64]
20
+ ldflags :
21
+ - -s -w -X main.version={{ .Version }}
33
22
hooks :
34
23
post :
35
24
- cmd : ./assets/sign-windows-executable.sh '{{ .Path }}'
36
25
output : true
37
26
27
+ - id : linux
28
+ goos : [linux]
29
+ goarch : ['386', arm, amd64, arm64]
30
+ env :
31
+ - CGO_ENABLED=0
32
+
33
+ - id : macos
34
+ binary : bin/sail
35
+ main : ./
36
+ goos : [darwin]
37
+ goarch : [amd64, arm64]
38
+
38
39
archives :
39
40
- id : nix
40
41
ids : [macos, linux]
41
- << : &archive_defaults
42
- name_template : >-
42
+ name_template : >-
43
43
{{- .ProjectName }}_
44
44
{{- title .Os }}_
45
45
{{- if eq .Arch "amd64" }}x86_64
@@ -50,22 +50,14 @@ archives:
50
50
formats : tar.gz
51
51
files :
52
52
- LICENSE
53
+
53
54
- id : windows
54
55
ids : [windows]
55
- << : *archive_defaults
56
- wrap_in_directory : false
57
56
formats : zip
57
+ wrap_in_directory : false
58
58
files :
59
59
- LICENSE
60
60
61
- # dockers:
62
- # - image_templates:
63
- # - sailpoint/sailpoint-cli:{{.Tag}}
64
- # use: buildx
65
- # dockerfile: Dockerfile
66
- # build_flag_templates:
67
- # - "--platform=linux/amd64"
68
-
69
61
brews :
70
62
- name : sailpoint-cli
71
63
homepage : " https://github.com/sailpoint-oss/sailpoint-cli"
You can’t perform that action at this time.
0 commit comments