Skip to content

Commit

Permalink
Merge pull request cozy#182 from CPatchane/fix_missing_issue
Browse files Browse the repository at this point in the history
Fix`[: missing ']'` issue
  • Loading branch information
gregorylegarec authored Dec 10, 2018
2 parents 7460d38 + e344adb commit c2548ab
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/cozy-release/scripts/cozy-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ start() {
current_version=$next_version
fi

if [ ! $NO_PUSH && ! $YES ]; then
if [[ ! $NO_PUSH && ! $YES ]]; then
warn_about_start $remote $current_version
fi

Expand Down Expand Up @@ -370,7 +370,7 @@ beta () {
assert_release_or_patch

remote=$1
if [ ! $NO_PUSH && ! $YES ]; then
if [[ ! $NO_PUSH && ! $YES ]]; then
warn_about_beta $remote
fi

Expand All @@ -392,7 +392,7 @@ stable () {
assert_release_or_patch

remote=$1
if [ ! $NO_PUSH && ! $YES ]; then
if [[ ! $NO_PUSH && ! $YES ]]; then
warn_about_stable $remote
fi

Expand Down Expand Up @@ -427,7 +427,7 @@ patch () {

next_version=`compute_next_version $version patch`

if [ ! $NO_PUSH && ! $YES ]; then
if [[ ! $NO_PUSH && ! $YES ]]; then
warn_about_patch $remote $next_version
fi

Expand Down Expand Up @@ -500,7 +500,7 @@ end_release() {
fi
fi

if [ ! $NO_PUSH && ! $YES ]; then
if [[ ! $NO_PUSH && ! $YES ]]; then
warn_about_end_release $remote $version
fi

Expand Down Expand Up @@ -544,7 +544,7 @@ end_patch() {
fi
fi

if [ ! $NO_PUSH && ! $YES ]; then
if [[ ! $NO_PUSH && ! $YES ]]; then
warn_about_end_patch $remote $version
fi

Expand Down

0 comments on commit c2548ab

Please sign in to comment.