+49
-0
lines changedFilter options
+49
-0
lines changed Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
1
1
build/
2
2
/gokeyless
3
3
*.swp
4
+
dist/
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
1
+
env:
2
+
- GO111MODULE=on
3
+
- CGO_ENABLED=1
4
+
- GOFLAGS=-mod=vendor
5
+
- GOPROXY=off
6
+
builds:
7
+
- id: gokeyless-darwin
8
+
binary: gokeyless
9
+
env:
10
+
- CC=o64-clang
11
+
- CXX=o64-clang++
12
+
goos:
13
+
- darwin
14
+
goarch:
15
+
- amd64
16
+
main: ./cmd/gokeyless
17
+
ldflags:
18
+
- -s -w -X main.version={{.Version}}
19
+
- id: gokeyless-linux
20
+
binary: gokeyless
21
+
goos:
22
+
- linux
23
+
goarch:
24
+
- amd64
25
+
main: ./cmd/gokeyless
26
+
ldflags:
27
+
- -s -w -X main.version={{.Version}}
28
+
- -linkmode external -extldflags "-static"
29
+
archives:
30
+
- format: binary
31
+
release:
32
+
github:
33
+
owner: cloudflare
34
+
name: gokeyless
35
+
prerelease: auto
36
+
changelog:
37
+
sort: asc
Original file line number Diff line number Diff line change
@@ -110,3 +110,14 @@ test-trust: gokeyless
110
110
.PHONY: benchmark-softhsm
111
111
benchmark-softhsm:
112
112
go test -tags pkcs11 -v -race ./server -bench HSM -args -softhsm2
113
+
114
+
# GORELEASER_GITHUB_TOKEN=X make release-github
115
+
# token from https://github.com/settings/tokens/new
116
+
.PHONY: release-github
117
+
release-github:
118
+
docker run --rm --privileged -v $(PWD):/go/tmp \
119
+
-v /var/run/docker.sock:/var/run/docker.sock \
120
+
-w /go/tmp \
121
+
--env GORELEASER_GITHUB_TOKEN \
122
+
neilotoole/xcgo:latest goreleaser --rm-dist
123
+
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4