message: Fix: publish script dry run don't skip packing
diff: @@ -58,17 +58,17 @@ for module in $(ls "${MODULES_PATH}"); do
  cd "${MODULES_PATH}/$module/lib"
  # Get the current LOCAL package version
  CURRENT_VERSION=$(node -p "require('./package.json').version")
  + # If we're just testing, create a archive containing the release files, but don't push them
  + if [ ! -z $JUST_A_TEST ]; then
  + log "Packing @colony/$module @ $CURRENT_VERSION to NPM..."
  + npm pack
  + else
  # Check if that version is already published
  VERSION_PUBLISHED=$(npm view "@colony/$module@$CURRENT_VERSION" version)
  if [ $VERSION_PUBLISHED ]; then
  echo "@colony/$module @ $CURRENT_VERSION is already published, skipping"
  continue
  fi
  - # If we're just testing, create a archive containing the release files, but don't push them
  - if [ ! -z $JUST_A_TEST ]; then
  - log "Packing @colony/$module @ $CURRENT_VERSION to NPM..."
  - npm pack
  - else
  # Do a RC release
  if [ $(echo $CURRENT_VERSION | grep "rc") ]; then
  log "Publishing @colony/$module @ $CURRENT_VERSION to NPM as RELEASE CANDIDATE"
  