From e35d81d393b64e552996cca2c508d887109af55f Mon Sep 17 00:00:00 2001 From: k33g Date: Sat, 6 May 2023 20:03:11 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20updates=20HDK=20for=20v0.3.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Taskfile.yml | 19 +++++++++++++++++++ capsule-cli/.gitignore | 1 + release/.gitignore | 1 + release/.gitkeep | 0 4 files changed, 21 insertions(+) create mode 100644 release/.gitignore create mode 100644 release/.gitkeep diff --git a/Taskfile.yml b/Taskfile.yml index 25b398e..55b5bb3 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -38,3 +38,22 @@ tasks: cmds: - git tag -d ${TAG} + build-releases: + env: + TAG: "v0.3.4" + cmds: + - | + cd capsule-cli + env GOOS=darwin GOARCH=arm64 go build -o capsule-${TAG}-darwin-arm64 + env GOOS=darwin GOARCH=amd64 go build -o capsule-${TAG}-darwin-amd64 + env GOOS=linux GOARCH=arm64 go build -o capsule-${TAG}-linux-arm64 + env GOOS=linux GOARCH=amd64 go build -o capsule-${TAG}-linux-amd64 + mv capsule-${TAG}-* ../release + + - | + cd capsule-http + env GOOS=darwin GOARCH=arm64 go build -o capsule-http-${TAG}-darwin-arm64 + env GOOS=darwin GOARCH=amd64 go build -o capsule-http-${TAG}-darwin-amd64 + env GOOS=linux GOARCH=arm64 go build -o capsule-http-${TAG}-linux-arm64 + env GOOS=linux GOARCH=amd64 go build -o capsule-http-${TAG}-linux-amd64 + mv capsule-http-${TAG}-* ../release diff --git a/capsule-cli/.gitignore b/capsule-cli/.gitignore index 7be255c..95fb4ab 100644 --- a/capsule-cli/.gitignore +++ b/capsule-cli/.gitignore @@ -1 +1,2 @@ capsule +capsule-v* diff --git a/release/.gitignore b/release/.gitignore new file mode 100644 index 0000000..7875537 --- /dev/null +++ b/release/.gitignore @@ -0,0 +1 @@ +capsule-* \ No newline at end of file diff --git a/release/.gitkeep b/release/.gitkeep new file mode 100644 index 0000000..e69de29