From 40b9acf33f640bb5dc66c879ede1c210d5ab2397 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 18 Oct 2023 15:12:38 -0600 Subject: [PATCH] ci.sh can build a tarball now --- .gitignore | 3 +++ build/ci/ci.sh | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index c67869c..7e15d0d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ .idea /vendor/ __debug_bin +*.tar.gz +transpile +mothd \ No newline at end of file diff --git a/build/ci/ci.sh b/build/ci/ci.sh index 773dba4..ee6401a 100755 --- a/build/ci/ci.sh +++ b/build/ci/ci.sh @@ -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