Skip to content

Commit

Permalink
Merge pull request #23 from Food-fusion-Fiap/update-tag-last
Browse files Browse the repository at this point in the history
update tag
  • Loading branch information
CAVAh authored Jul 15, 2024
2 parents 5857577 + d7a114c commit eaad6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Calculate next tag
id: tagger
run: |
LATEST_TAG=$(git tag --sort=-v:refname | head -n 1)
LATEST_TAG=$(github.event.release.tag_name)
echo "Last tag: $LATEST_TAG"
if [[ "$LATEST_TAG" =~ ^v([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]; then
major="${BASH_REMATCH[1]}"
Expand Down

0 comments on commit eaad6d1

Please sign in to comment.