From a6aa02cb41e699aac097c2d70b06ff732358f33c Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 27 May 2024 16:36:12 -0600 Subject: [PATCH] GitHub Actions Also getting tags from upstream/parent --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 573547f1..f346923a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,10 +101,11 @@ jobs: - name: Get next version id: new_git_tag run: | - git fetch --prune --tags --force + git remote add upstream https://github.com/gocolly/colly || true + git fetch upstream --tags git tag # This is just for future debug, lists the past tags go install github.com/caarlos0/svu@latest - NEW_TAG=$(svu next --force-patch-increment) + NEW_TAG=$(svu next --tag-mode all-branches --force-patch-increment) echo "Using the next tag of ${NEW_TAG} for this release" echo "new_tag=$NEW_TAG" >> $GITHUB_ENV echo "new_tag=$NEW_TAG" >> $GITHUB_OUTPUT