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 281a37f6f2
commit c7887296e5
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

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