Skip to content

Commit

Permalink
actually seems like == is no no (gatsbyjs#29926)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh authored Mar 2, 2021
1 parent f259e4d commit cd39339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/publish-starters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for folder in $GLOB; do
# FIX-ME: there are changes in gatsbyjs/gatsby-starter-wordpress-blog that
# are not applied in this repo, so until we make starter in this repo
# source of truth we should skip it.
if [ "gatsby-starter-wordpress-blog" == "$NAME" ]; then
if [ "gatsby-starter-wordpress-blog" = "$NAME" ]; then
continue
fi

Expand All @@ -35,7 +35,7 @@ for folder in $GLOB; do
find . | grep -v ".git" | grep -v "^\.*$" | xargs rm -rf # delete all files (to handle deletions in monorepo)
cp -r "$BASE/$folder/." .

if [ "$IS_WORKSPACE" == null ]; then
if [ "$IS_WORKSPACE" = null ]; then
rm -f yarn.lock
if [ "$MINIMAL_STARTER" != "$NAME" ]; then # ignore minimal starter because we don't want any lock files for create-gatsby
yarn import # generate a new yarn.lock file based on package-lock.json, gatsby new does this is new CLI versions but will ignore if file exists
Expand Down

0 comments on commit cd39339

Please sign in to comment.