From 40ba3de67ce3fe0ca4e89b21db4a094bba2afcf2 Mon Sep 17 00:00:00 2001 From: Kristof Kowalski Date: Mon, 13 Nov 2023 21:29:47 +1100 Subject: [PATCH] fix: fixing release --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d396cff..1a0d8cf 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ +PACKAGE_NAME := github.com/krzko/slack-buddy +GOLANG_CROSS_VERSION ?= v1.19.5 + +SYSROOT_DIR ?= sysroots +SYSROOT_ARCHIVE ?= sysroots.tar.bz2 + .PHONY: sysroot-pack sysroot-pack: @tar cf - $(SYSROOT_DIR) -P | pv -s $[$(du -sk $(SYSROOT_DIR) | awk '{print $1}') * 1024] | pbzip2 > $(SYSROOT_ARCHIVE) @@ -34,4 +40,3 @@ release: -w /go/src/$(PACKAGE_NAME) \ ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \ release --rm-dist - \ No newline at end of file