File tree Expand file tree Collapse file tree 3 files changed +52
-2
lines changed Expand file tree Collapse file tree 3 files changed +52
-2
lines changed Original file line number Diff line number Diff line change 2424 uses : goreleaser/goreleaser-action@master
2525 with :
2626 args : release
27- workdir : ./cmd/git-open
2827 env :
2928 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ env :
2+ - GO111MODULE=on
3+ - GOPROXY=https://gocenter.io
4+ before :
5+ hooks :
6+ - go mod download
7+ builds :
8+ - env :
9+ - CGO_ENABLED=0
10+ goos :
11+ - linux
12+ - darwin
13+ - windows
14+ goarch :
15+ - 386
16+ - amd64
17+ - arm
18+ - arm64
19+ ignore :
20+ - goos : darwin
21+ goarch : 386
22+ mod_timestamp : ' {{ .CommitTimestamp }}'
23+ flags :
24+ - -trimpath
25+ ldflags :
26+ - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser
27+ main : ./cmd/git-open/main.go
28+ binary : git-open
29+ checksum :
30+ name_template : ' {{ .ProjectName }}_checksums.txt'
31+ changelog :
32+ sort : asc
33+ filters :
34+ exclude :
35+ - ' ^docs:'
36+ - ' ^test:'
37+ - Merge pull request
38+ - Merge branch
39+ - go mod tidy
40+
41+ archives :
42+ - name_template : ' git-open_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
43+ replacements :
44+ darwin : Darwin
45+ linux : Linux
46+ windows : Windows
47+ 386 : i386
48+ amd64 : x86_64
49+ format_overrides :
50+ - goos : windows
51+ format : zip
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ git open
1717
1818## Installation
1919
20- todo..
20+ Download the binary from the [ Latest Release ] ( https://github.com/mogensen/go-git-open/releases/latest/ ) and add it to your path ( ` /usr ` )
2121
2222## Supported remote repositories
2323
You can’t perform that action at this time.
0 commit comments