chore(release): fix pub publish release script.

Relevant SO:
http://stackoverflow.com/questions/2953646/how-to-declare-and-use-boolean-variables-in-shell-script

tl;dr - bash does not really have booleans, 'true' and 'false' are just
strings.
This commit is contained in:
Rado Kirov 2015-07-23 11:11:40 -07:00
parent 1438922ffb
commit 21b988f554
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ function publishModule {
node scripts/publish/pubspec_cleaner.js --pubspec-file=$PUBLISH_DIR/pubspec.yaml
if [[ ! $DRY_RUN ]]; then
if [[ "$DRY_RUN" == "false" ]]; then
(cd $PUBLISH_DIR && pub publish -f)
fi;
}