Skip to content

Commit

Permalink
fix: Rename new_tag to tag, update ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Jul 30, 2024
1 parent 1a075e4 commit ce7cfeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
TAG_NAME=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0")
fi
else
TAG_NAME="${{ github.ref }}"
NEW_TAG=$(git describe --tags --abbrev=0)
fi
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
PATCH=$(echo $CURRENT_TAG | cut -d. -f3)
NEW_TAG="$MAJOR.$MINOR.$((PATCH+1))"
else
NEW_TAG=$(git describe --tags --abbrev=0)
NEW_TAG=$INPUT_TAG
fi
echo "NEW_TAG=$NEW_TAG" >> $GITHUB_ENV
echo "New tag is $NEW_TAG"
Expand Down

0 comments on commit ce7cfeb

Please sign in to comment.