Skip to content

Commit

Permalink
release fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pdbogen committed Oct 11, 2022
1 parent 5ad0417 commit c51f42a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c51f42a

Please sign in to comment.