From c7887296e589882c89dbf1b54ba94cddbdb9d387 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 29 Aug 2023 13:10:27 +0200 Subject: [PATCH] Makefile: cleanup bin/ directory at the beginning of `make publish-release` command This is needed in order to prevent from non-build artifacts to be uploaded to Github release page --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 96ec0959f..b8160831c 100644 --- a/Makefile +++ b/Makefile @@ -174,6 +174,7 @@ vmutils-crossbuild: \ vmutils-windows-amd64 publish-release: + rm -rf bin/* git checkout $(TAG) && LATEST_TAG=stable $(MAKE) release publish && \ git checkout $(TAG)-cluster && LATEST_TAG=cluster-stable $(MAKE) release publish && \ git checkout $(TAG)-enterprise && LATEST_TAG=enterprise-stable $(MAKE) release publish && \