build: keep latest git tag in sync with each versioned release
This commit is contained in:
2
Makefile
2
Makefile
@@ -32,7 +32,9 @@ docker-push: docker-build
|
|||||||
tag:
|
tag:
|
||||||
@if [ -z "$(VERSION)" ]; then echo "Usage: make tag VERSION=1.2.0"; exit 1; fi
|
@if [ -z "$(VERSION)" ]; then echo "Usage: make tag VERSION=1.2.0"; exit 1; fi
|
||||||
git tag $(VERSION)
|
git tag $(VERSION)
|
||||||
|
git tag -f latest
|
||||||
git push origin $(VERSION)
|
git push origin $(VERSION)
|
||||||
|
git push origin -f latest
|
||||||
|
|
||||||
gitea-release:
|
gitea-release:
|
||||||
tea release create \
|
tea release create \
|
||||||
|
|||||||
Reference in New Issue
Block a user