diff options
-rwxr-xr-x | aux/workflow/dist.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aux/workflow/dist.sh b/aux/workflow/dist.sh index bc01a8f..45fc30a 100755 --- a/aux/workflow/dist.sh +++ b/aux/workflow/dist.sh @@ -5,12 +5,12 @@ DATE="$1" VERSION="v$2" if git show "$VERSION" 1>/dev/null 2>/dev/null; then - echo 'Version "$VERSION" already exists.' + echo "Version '$VERSION' already exists." exit 1 fi -if [ '$DATE' != "$(git log -1 --format=%cd --date=short HEAD)" ]; then - echo 'Date "$DATE" is not up-to-date.' +if [ "$DATE" != "$(git log -1 --format=%cd --date=short HEAD)" ]; then + echo "Date '$DATE' is not up-to-date." exit 1 fi |