File tree 2 files changed +30
-24
lines changed
2 files changed +30
-24
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ jobs:
18
18
- name : Install Go
19
19
uses : actions/setup-go@v2
20
20
with :
21
- go-version : 1.15 .x
21
+ go-version : 1.16 .x
22
22
- name : Generate CHANGELOG.md
23
23
run : |
24
- GO111MODULE=off go get -u github.com/git-chglog/git-chglog/cmd/git-chglog
24
+ cd; GO111MODULE=on go get -u github.com/git-chglog/git-chglog/cmd/git-chglog
25
+ cd $GITHUB_WORKSPACE
25
26
git-chglog --config .ci/git-chglog.yml --output=CHANGELOG.md $(git describe --tags $(git rev-list --tags --max-count=1))
26
27
- name : Run GoReleaser
27
28
uses : goreleaser/goreleaser-action@v2
Original file line number Diff line number Diff line change
1
+ archives :
2
+ - format_overrides :
3
+ - goos : windows
4
+ format : zip
5
+
1
6
before :
2
7
hooks :
3
- - make clean
8
+ - make clean
4
9
5
10
builds :
6
11
- env :
7
- - CGO_ENABLED=0
12
+ - CGO_ENABLED=0
8
13
ldflags :
9
- - -s -w
10
- - -X github.com/groupe-edf/watchdog/internal/version.Version={{.Tag}}
11
- - -X github.com/groupe-edf/watchdog/internal/version.BuildDate={{.Date}}
12
- - -X github.com/groupe-edf/watchdog/internal/version.Commit={{.FullCommit}}
13
- - -X github.com/groupe-edf/watchdog/internal/version.Sha={{.ShortCommit}}
14
+ - -s -w
15
+ - -X github.com/groupe-edf/watchdog/internal/version.Version={{.Tag}}
16
+ - -X github.com/groupe-edf/watchdog/internal/version.BuildDate={{.Date}}
17
+ - -X github.com/groupe-edf/watchdog/internal/version.Commit={{.FullCommit}}
18
+ - -X github.com/groupe-edf/watchdog/internal/version.Sha={{.ShortCommit}}
14
19
goos :
15
- - darwin
16
- - linux
17
- - windows
20
+ - darwin
21
+ - linux
22
+ - windows
18
23
goarch :
19
- - amd64
24
+ - amd64
20
25
mod_timestamp : " {{ .CommitTimestamp }}"
21
26
22
27
changelog :
@@ -28,17 +33,17 @@ checksum:
28
33
dist : target
29
34
30
35
nfpms :
31
- - homepage : https://github.com/groupe-edf/watchdog
32
- maintainer :
Habib MAALEM <[email protected] >
33
- description : Git server-side Custom Hooks
34
- vendor : watchdog
35
- license : GPL
36
- formats :
37
- - apk
38
- - deb
39
- - rpm
40
- empty_folders :
41
- - /var/log/watchdog
36
+ - homepage : https://github.com/groupe-edf/watchdog
37
+ maintainer :
Habib MAALEM <[email protected] >
38
+ description : Git server-side Custom Hooks
39
+ vendor : watchdog
40
+ license : GPL
41
+ formats :
42
+ - apk
43
+ - deb
44
+ - rpm
45
+ empty_folders :
46
+ - /var/log/watchdog
42
47
43
48
project_name : watchdog
44
49
You can’t perform that action at this time.
0 commit comments