Skip to content

Commit

Permalink
GitHub Actions
Browse files Browse the repository at this point in the history
Also getting tags from upstream/parent
  • Loading branch information
amarcum committed May 27, 2024
1 parent 583432b commit a6aa02c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6aa02c

Please sign in to comment.