Skip to content

Commit

Permalink
fix: fixing release
Browse files Browse the repository at this point in the history
  • Loading branch information
krzko committed Nov 13, 2023
1 parent 4bbf3f3 commit 40ba3de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -34,4 +40,3 @@ release:
-w /go/src/$(PACKAGE_NAME) \
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
release --rm-dist

0 comments on commit 40ba3de

Please sign in to comment.