added tag message in release
This commit is contained in:
5
Makefile
5
Makefile
@@ -19,7 +19,8 @@ build:
|
||||
clean:
|
||||
podman image rm ${REPO}/${IMAGENAME}:$(VERSION)
|
||||
|
||||
release: guard clean build
|
||||
git tag v$(VERSION)
|
||||
release: guard build
|
||||
$(eval TMP_MESSAGE := $(shell podman run --rm -it ${REPO}/${IMAGENAME}:$(VERSION) /usr/sbin/dnsmasq --version))
|
||||
git tag -a v$(VERSION) -m "${TMP_MESSAGE}"
|
||||
git push origin v$(VERSION)
|
||||
podman push --creds $(USERNAME):$(PASSWORD) ${REPO}/${IMAGENAME}:$(VERSION)
|
||||
|
Reference in New Issue
Block a user