3 Commits

2 changed files with 4 additions and 2 deletions

View File

@@ -32,13 +32,15 @@ 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 \
--tag $(VERSION) \ --tag $(VERSION) \
--title "$(VERSION)" \ --title "$(VERSION)" \
--note $(NOTES) \ $(if $(NOTES),--note $(NOTES),) \
--asset $(BUILD_DIR)/$(BIN)-windows-amd64.exe \ --asset $(BUILD_DIR)/$(BIN)-windows-amd64.exe \
--asset $(BUILD_DIR)/$(BIN)-linux-amd64 \ --asset $(BUILD_DIR)/$(BIN)-linux-amd64 \
--asset $(BUILD_DIR)/$(BIN)-linux-arm64 \ --asset $(BUILD_DIR)/$(BIN)-linux-arm64 \

View File

@@ -47,7 +47,7 @@ var cli = &cobra.Command{
comic.Archive() comic.Archive()
comic.Cleanup() comic.Cleanup()
}, },
Version: "1.1.0", Version: "1.2.1",
} }
func Execute() error { func Execute() error {