Skip to content
This repository was archived by the owner on Aug 24, 2024. It is now read-only.

Commit 1865b10

Browse files
committed
ci: simplify release code
1 parent fbb39e1 commit 1865b10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: make test
3232

3333
- name: Build binaries
34-
run: go get github.com/mitchellh/gox && make releases
34+
run: make releases
3535

3636
- uses: "marvinpinto/action-automatic-releases@latest"
3737
with:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ install:
1616
go install -ldflags "$(LDFLAGS)" .
1717

1818
releases:
19-
gox -ldflags "$(LDFLAGS)" -osarch '!darwin/386' -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}"
19+
go run github.com/mitchellh/gox@v1.0.1 -ldflags "$(LDFLAGS)" -osarch '!darwin/386' -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}"
2020

2121
test:
2222
go test -v -bench=. ./...

0 commit comments

Comments
 (0)