From c51f42a3406cb65ff7f413346e6a01955e210532 Mon Sep 17 00:00:00 2001 From: Tricia Bogen Date: Tue, 11 Oct 2022 10:36:09 -0700 Subject: [PATCH] release fixes --- .github/workflows/go.yml | 4 ++-- Makefile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7ee2f15..4c013ca 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,10 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.14 + - name: Set up Go 1.19 uses: actions/setup-go@v1 with: - go-version: 1.14 + go-version: 1.19 id: go - name: Check out code into the Go module directory diff --git a/Makefile b/Makefile index 1b48a18..de4b922 100644 --- a/Makefile +++ b/Makefile @@ -53,13 +53,13 @@ static/js/main.js: ${shell find ts/} release: mapbot.darwin_amd64 mapbot.linux_amd64 mapbot.windows_amd64.exe mapbot.darwin_amd64: mapbot - GOOS=darwin GOARCH=amd64 go build -o mapbot.darwin_amd64 + CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o mapbot.darwin_amd64 mapbot.linux_amd64: mapbot - GOOS=linux GOARCH=amd64 go build -o mapbot.linux_amd64 + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o mapbot.linux_amd64 mapbot.windows_amd64.exe: mapbot - GOOS=windows GOARCH=amd64 go build -o mapbot.windows_amd64.exe + CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o mapbot.windows_amd64.exe tail: ssh -At mapbot.cernu.us 'for i in 1 2 3 4 5; do docker logs --tail 1 mapbot >/dev/null && exit 0; sleep $$i; done; exit 1'