Skip to content

Commit

Permalink
ci: display previous tag during release job (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarda authored Jun 28, 2024
1 parent 7e54aba commit b8e6483
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
fi
echo $REGEX
PREV_TAG=$(git tag --sort=-creatordate | grep -P $REGEX || true | head -1)
echo $PREV_TAG
if [ "$TAG" == "$PREV_TAG" ]; then
echo "No new version to release"
exit 1
Expand Down

0 comments on commit b8e6483

Please sign in to comment.