We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d8e173 commit d86a0d4Copy full SHA for d86a0d4
scripts/release.sh
@@ -1,10 +1,10 @@
1
-#!/usr/bin/env bash
+#!/usr/bin/env sh
2
set -e;
3
4
name=$1
5
noprompt=$2
6
7
-if [ "$name" == "" ]; then
+if [ "$name" = "" ]; then
8
echo "ERROR: Must pass a name of the release as the first argument to this script.";
9
exit 1;
10
fi
@@ -14,7 +14,7 @@ fullPath="$PWD/releases/$name"
14
echo "Creating release '$name'"
15
echo "Full path = '$fullPath'"
16
17
-if [ "$noprompt" == "--noprompt" ]; then
+if [ "$noprompt" = "--noprompt" ]; then
18
echo "No prompt, will continue"
19
else
20
echo "Continue? (y/n)"
0 commit comments