Skip to content

Commit

Permalink
Fetch tags
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
  • Loading branch information
mcandeia committed Aug 29, 2024
1 parent 6d09a7b commit 2997c6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Calculate new versions
id: calculate_versions
run: |
git fetch --tags
LATEST_TAG=$(git tag --sort=-v:refname | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1)
echo "latest tag: $LATEST_TAG"
MAJOR=$(echo $LATEST_TAG | cut -d. -f1)
Expand Down

0 comments on commit 2997c6b

Please sign in to comment.