mirror of https://github.com/dirtbags/moth.git
ci.sh can build a tarball now
This commit is contained in:
parent
eba861aed6
commit
40b9acf33f
|
@ -3,3 +3,6 @@
|
|||
.idea
|
||||
/vendor/
|
||||
__debug_bin
|
||||
*.tar.gz
|
||||
transpile
|
||||
mothd
|
|
@ -43,6 +43,11 @@ case $ACTION in
|
|||
run docker push $image
|
||||
done
|
||||
;;
|
||||
release)
|
||||
run go build -v ./cmd/mothd
|
||||
run go build -v ./cmd/transpile
|
||||
run tar czf moth-$(git tag --contains).$(uname -s)-$(uname -m).tar.gz mothd transpile theme
|
||||
;;
|
||||
*)
|
||||
echo "Unknown action: $1" 1>&2
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue