File tree Expand file tree Collapse file tree 3 files changed +23
-11
lines changed Expand file tree Collapse file tree 3 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 1
1
clients /go /
2
+ ! clients /go /.goreleaser.yaml
3
+ ! clients /go /.github /workflows /release.yml
2
4
3
5
clients /python /*
4
6
! clients /python /test /test_locales_api.py
Original file line number Diff line number Diff line change 17
17
with :
18
18
go-version : 1.14
19
19
- name : Run GoReleaser
20
- uses : goreleaser/goreleaser-action@ac067437f516133269923265894e77920c3dce18 # pin@v2
20
+ uses : goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # pin@v6
21
21
with :
22
- version : latest
22
+ version : " ~>2.0 "
23
23
args : release --clean
24
24
env :
25
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
- # Make sure to check the documentation at http://goreleaser.com
1
+ # Make sure to check the documentation at https://goreleaser.com
2
+
3
+ version : 2
4
+
2
5
before :
3
6
hooks :
4
7
# You may remove this if you don't use go modules.
5
8
- go mod tidy
6
9
builds :
7
10
- skip : true
8
11
archives :
9
- - name_template : >-
10
- {{ .ProjectName }}_
11
- {{- title .Os }}_
12
- {{- if eq .Arch "amd64" }}x86_64
13
- {{- else if eq .Arch "386" }}i386
14
- {{- else }}{{ .Arch }}{{ end }}
15
- {{- if .Arm }}v{{ .Arm }}{{ end }}
12
+ - format : tar.gz
13
+ # this name template makes the OS and Arch compatible with the results of `uname`.
14
+ name_template : >-
15
+ {{ .ProjectName }}_
16
+ {{- title .Os }}_
17
+ {{- if eq .Arch "amd64" }}x86_64
18
+ {{- else if eq .Arch "386" }}i386
19
+ {{- else }}{{ .Arch }}{{ end }}
20
+ {{- if .Arm }}v{{ .Arm }}{{ end }}
21
+ # use zip for windows archives
22
+ format_overrides :
23
+ - goos : windows
24
+ format : zip
25
+
16
26
checksum :
17
27
name_template : ' checksums.txt'
18
28
snapshot :
19
29
name_template : " {{ .Tag }}"
20
30
changelog :
21
- skip : true
31
+ disable : true
22
32
release :
23
33
github :
24
34
owner : phrase
You can’t perform that action at this time.
0 commit comments