Add commands for making a release
This commit is contained in:
parent
e9bd5d8eb5
commit
eb4fec2f21
9
Makefile
9
Makefile
|
@ -31,7 +31,14 @@ bindata:
|
||||||
data/...;
|
data/...;
|
||||||
|
|
||||||
release:
|
release:
|
||||||
goreleaser release --skip-publish
|
GITHUB_TOKEN=`cat ~/.GORELEASE_GITHUB_TOKEN` goreleaser --rm-dist
|
||||||
|
./build.sh linux
|
||||||
|
mv dist/linux/amd64 dist/ooniprobe_$(git describe --tags | sed s/^v//)_linux_amd64
|
||||||
|
tar cvzf dist/ooniprobe_$(git describe --tags | sed s/^v//)_linux_amd64.tar.gz \
|
||||||
|
-C dist/ooniprobe_$(git describe --tags | sed s/^v//)_linux_amd64 \
|
||||||
|
ooni
|
||||||
|
cd dist && shasum -a 256 ooniprobe_$(git describe --tags | sed s/^v//)_linux_amd64.tar.gz >> ooniprobe_checksums.txt
|
||||||
|
gpg -a --detach-sign dist/ooniprobe_checksums.txt
|
||||||
|
|
||||||
test-internal:
|
test-internal:
|
||||||
@$(GO) test -v ./internal/...
|
@$(GO) test -v ./internal/...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user