1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

New: release with goreleaser

Former-commit-id: 0714de93b3df45312d65ed61340b066515d10bae [formerly 23a3da72fd9edd64da8b30b0ead05ca4c440c709] [formerly 01d2da8eb8e0b9e5fba12ed5cc92e50c29aa9be6 [formerly 838f599daae4e00ea0f2bace01ddd8521f28a157]]
Former-commit-id: 73bb360a0b18b0ad1b626b5a29a6e2e188b91257 [formerly 104088fcf4e6880a40436c7ff309747baea2640e]
Former-commit-id: ffbc185e61ad872f99713d15289fc07b14bbaf80
Former-commit-id: b69ddc7cdb
This commit is contained in:
Zack Scholl 2017-03-23 11:59:55 -06:00
parent 3b0169212c
commit 28d70b6148
2 changed files with 19 additions and 0 deletions

16
goreleaser.yml Normal file
View File

@ -0,0 +1,16 @@
# goreleaser.yml
build:
binary: cowyo
ldflags: -s -w
goos:
- linux
- windows
goarch:
- amd64
hooks:
pre: go-bindata static/... templates/...
post: /bin/sh script.sh

3
script.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
set -ex
upx dist/cowyo*/cowyo*