From 0609d8c8c5f28ec90dbe736dde62898ae617465f 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 3ac4a9536c..149013cea6 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,7 @@ package: \ package-vmstorage 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 && \