feat: add check for newer versions (#1562)

* feat: add check for newer versions

* fix: support JSON logger and rever updates to go.mod

* fix: keep version updated in source code

* fix: lint errors

* fix: revert go.*
This commit is contained in:
Casey Lee
2023-01-15 02:30:41 -08:00
committed by GitHub
parent 767e6a8696
commit 93907931df
6 changed files with 121 additions and 13 deletions

View File

@@ -96,6 +96,9 @@ ifneq ($(shell git status -s),)
@echo "Unable to promote a dirty workspace"
@exit 1
endif
echo -n $(NEW_VERSION) > VERSION
git add VERSION
git commit -m "chore: bump VERSION"
git tag -a -m "releasing v$(NEW_VERSION)" v$(NEW_VERSION)
git push origin v$(NEW_VERSION)
@@ -105,3 +108,5 @@ snapshot:
--rm-dist \
--single-target \
--snapshot
.PHONY: clean all