Skip to content

Commit

Permalink
Try single '='
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Svedang authored and Erik Svedang committed Nov 15, 2020
1 parent 3d8e173 commit d86a0d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
set -e;

name=$1
noprompt=$2

if [ "$name" == "" ]; then
if [ "$name" = "" ]; then
echo "ERROR: Must pass a name of the release as the first argument to this script.";
exit 1;
fi
Expand All @@ -14,7 +14,7 @@ fullPath="$PWD/releases/$name"
echo "Creating release '$name'"
echo "Full path = '$fullPath'"

if [ "$noprompt" == "--noprompt" ]; then
if [ "$noprompt" = "--noprompt" ]; then
echo "No prompt, will continue"
else
echo "Continue? (y/n)"
Expand Down

0 comments on commit d86a0d4

Please sign in to comment.