From 5be882cba13d652f7d2e0285bb9d5262337bb438 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 31875c24f..bb421a825 100644 --- a/Makefile +++ b/Makefile @@ -169,6 +169,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 && \