We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b94fc30 commit 30079acCopy full SHA for 30079ac
1 file changed
scripts/semantic-release.sh
@@ -5,9 +5,9 @@ source ./scripts/util/env-node.sh
5
6
if [[ -z $IS_CI ]]; then
7
echo "Not running in CI. Release skipped"
8
-elif [[ $PROJECT_REPONAME -ne $RELEASE_REPONAME ]]; then
+elif [ "$PROJECT_REPONAME" != "$RELEASE_REPONAME" ]; then
9
echo "Project repo is not $RELEASE_REPONAME. Release skipped"
10
-elif [[ $CURRENT_BRANCH -ne $RELEASE_BRANCH ]]; then
+elif [ "$CURRENT_BRANCH" != "$RELEASE_BRANCH" ]]; then
11
echo "Branch is not $RELEASE_BRANCH. Release skipped"
12
else
13
CI=true npm run semantic-release
0 commit comments