Skip to content

Commit 30079ac

Browse files
committed
chore(scripts): fix release script
1 parent b94fc30 commit 30079ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/semantic-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ source ./scripts/util/env-node.sh
55

66
if [[ -z $IS_CI ]]; then
77
echo "Not running in CI. Release skipped"
8-
elif [[ $PROJECT_REPONAME -ne $RELEASE_REPONAME ]]; then
8+
elif [ "$PROJECT_REPONAME" != "$RELEASE_REPONAME" ]; then
99
echo "Project repo is not $RELEASE_REPONAME. Release skipped"
10-
elif [[ $CURRENT_BRANCH -ne $RELEASE_BRANCH ]]; then
10+
elif [ "$CURRENT_BRANCH" != "$RELEASE_BRANCH" ]]; then
1111
echo "Branch is not $RELEASE_BRANCH. Release skipped"
1212
else
1313
CI=true npm run semantic-release

0 commit comments

Comments
 (0)