Skip to content

Commit 6c295c8

Browse files
committed
ci(release): fetch tags from upstream before generating the next
Signed-off-by: Nico Braun <rainbowstack@gmail.com>
1 parent 739f689 commit 6c295c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ build: ## build the binaries for all targets
2929
###@ Release
3030

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

0 commit comments

Comments
 (0)