push git tag when version is tagged

This commit is contained in:
c9s 2021-12-05 12:04:22 +08:00
parent dac1967e2f
commit 56eaac94ff

View File

@ -128,6 +128,7 @@ pkg/version/version.go: .FORCE
version: pkg/version/version.go migrations version: pkg/version/version.go migrations
git commit $< -m "bump version to $(VERSION)" || true git commit $< -m "bump version to $(VERSION)" || true
git tag -f $(VERSION) git tag -f $(VERSION)
git push origin $(VERSION)
migrations: migrations:
rockhopper compile --config rockhopper_mysql.yaml --output pkg/migrations/mysql rockhopper compile --config rockhopper_mysql.yaml --output pkg/migrations/mysql