Skip to content

Commit

Permalink
Update the git command to match lightweight tags
Browse files Browse the repository at this point in the history
  • Loading branch information
JaniAnttonen committed Apr 8, 2022
1 parent f9e5e3a commit 6dba258
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deployCheck.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

if git describe --exact-match HEAD ; then
if git describe --tags --exact-match ; then
echo "New tag found, publishing a new release"
exit 1;
else
Expand Down

0 comments on commit 6dba258

Please sign in to comment.