Skip to content

Commit

Permalink
Manual release (#48)
Browse files Browse the repository at this point in the history
chore: consistent tag naming for both source tag and docker image tag
  • Loading branch information
kameshsampath committed Oct 7, 2022
1 parent b64ea58 commit 1143785
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@ push-extension: prepare-buildx ## Build & Upload extension image to hub. Do not
docker pull $(IMAGE):$(TAG) && echo "Failure: Tag already exists" || docker buildx build --push --builder=$(BUILDER) --platform=linux/amd64,linux/arm64 --build-arg TAG=$(TAG) --tag=$(IMAGE):$(TAG) --tag=$(IMAGE):latest .

release-beta: # Create a new beta release
git tag $$(svu patch --suffix=beta)
git push --tags
goreleaser --rm-dist
git tag $$(svu patch --strip-prefix --suffix=beta)
git push upstream --tags

release: # Create a new release
git tag $$(svu next)
git push --tags
goreleaser --rm-dist
git tag $$(svu patch --strip-prefix)
git push upstream --tags

help: ## Show this help
@echo Please specify a build target. The choices are:
Expand Down

0 comments on commit 1143785

Please sign in to comment.