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
This commit is contained in:
Aliaksandr Valialkin 2023-08-29 13:10:27 +02:00
parent 5e8dfcf65e
commit 0609d8c8c5
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -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 && \