Skip to content

Commit

Permalink
Fix check existing release version
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed Apr 4, 2022
1 parent 992b90b commit 4a9b436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Check existing release
run: |
if git tag | grep ${{ matrix.crate }}-${{ steps.release_info.outputs.version }} > /dev/null; then
if git tag | grep -e ^${{ matrix.crate }}-${{ steps.release_info.outputs.version }}$ > /dev/null; then
echo "Tag tag with ${{ matrix.crate }}-${{ steps.release_info.outputs.version }} already exists, cannot draft a release for already existing tag!, Consider upgrading versions to Cargo.toml file" && exit 1
fi
Expand Down

0 comments on commit 4a9b436

Please sign in to comment.