Skip to content

Commit

Permalink
ci(release): fetch tags from upstream before generating the next
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Braun <rainbowstack@gmail.com>
  • Loading branch information
bluebrown committed Jun 23, 2023
1 parent 739f689 commit 6c295c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ build: ## build the binaries for all targets
###@ Release

tag: ## create a new git tag based on conventional commit messages
@git fetch --tags --force
@$(eval git_tag=v$(shell docker run -v "$(CURDIR):/tmp" --workdir /tmp \
--rm -u '$(shell id -u):$(shell id -g)' convco/convco version --bump))
@git tag -m "bump" -f "$(git_tag)"
Expand Down

0 comments on commit 6c295c8

Please sign in to comment.