File tree Expand file tree Collapse file tree 3 files changed +36
-18
lines changed
Expand file tree Collapse file tree 3 files changed +36
-18
lines changed Original file line number Diff line number Diff line change 1+ # This is an example .goreleaser.yml file with some sensible defaults.
2+ # Make sure to check the documentation at https://goreleaser.com
3+
4+ # The lines bellow are called `modelines`. See `:help modeline`
5+ # Feel free to remove those if you don't want/need to use them.
6+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
7+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
8+
9+ before :
10+ hooks :
11+ # You may remove this if you don't use go modules.
12+ - go mod tidy
13+ # you may remove this if you don't need go generate
14+ - go generate ./...
15+
116builds :
217 - env :
318 - CGO_ENABLED=0
@@ -6,13 +21,14 @@ builds:
621
722archives :
823 - format : binary
9- name_template : " {{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
10-
11- checksum :
12- name_template : ' checksums.txt'
13-
14- snapshot :
15- name_template : " {{ .Tag }}-next"
24+ # this name template makes the OS and Arch compatible with the results of `uname`.
25+ name_template : >-
26+ {{ .ProjectName }}_
27+ {{- title .Os }}_
28+ {{- if eq .Arch "amd64" }}x86_64
29+ {{- else if eq .Arch "386" }}i386
30+ {{- else }}{{ .Arch }}{{ end }}
31+ {{- if .Arm }}v{{ .Arm }}{{ end }}
1632
1733changelog :
1834 sort : asc
Original file line number Diff line number Diff line change 11module github.com/my0419/myvpn-agent
22
3- go 1.16
3+ go 1.21.3
44
5- require golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
5+ require golang.org/x/crypto v0.14.0
6+
7+ require (
8+ golang.org/x/net v0.10.0 // indirect
9+ golang.org/x/text v0.13.0 // indirect
10+ )
Original file line number Diff line number Diff line change 1- golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 h1:It14KIkyBFYkHkwZ7k45minvA9aorojkyjGk9KJ5B/w =
2- golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 /go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4 =
3- golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 h1:qWPm9rbaAMKs8Bq/9LRpbMqxWRVUAQwMI9fVrssnTfw =
4- golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 /go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg =
5- golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
6- golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 /go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo =
7- golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k =
8- golang.org/x/text v0.3.3 /go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ =
9- golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e /go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ =
1+ golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc =
2+ golang.org/x/crypto v0.14.0 /go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4 =
3+ golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M =
4+ golang.org/x/net v0.10.0 /go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg =
5+ golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k =
6+ golang.org/x/text v0.13.0 /go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE =
You can’t perform that action at this time.
0 commit comments