added tag message in release

This commit is contained in:
Jonas Forsberg
2023-04-13 16:19:02 +02:00
parent 0b80fb9a4a
commit d3f6710bff
2 changed files with 20 additions and 19 deletions

View File

@@ -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)