Skip to content

Commit

Permalink
fix: migrate to gereleaser-cross
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod committed Nov 7, 2024
1 parent 0110ceb commit 9de02bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME := github.com/hazcod/enpass-cli
GOLANG_CROSS_VERSION ?= v1.23.2
GOLANG_CROSS_VERSION ?= v1.21.5

SYSROOT_DIR ?= sysroots
SYSROOT_ARCHIVE ?= sysroots.tar.bz2
Expand All @@ -25,7 +25,7 @@ release-dry-run:
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-v `pwd`/sysroot:/sysroot \
-w /go/src/$(PACKAGE_NAME) \
troian/golang-cross:${GOLANG_CROSS_VERSION} \
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
--rm-dist --skip-validate --skip-publish

.PHONY: release
Expand All @@ -43,5 +43,5 @@ release:
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-v `pwd`/sysroot:/sysroot \
-w /go/src/$(PACKAGE_NAME) \
troian/golang-cross:${GOLANG_CROSS_VERSION} \
release --rm-dist
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
release --rm-dis

0 comments on commit 9de02bf

Please sign in to comment.