Removed main from yarn ship

- we might not necessarily be pushing to `main`, for example, if we're
  doing a patch release
This commit is contained in:
Daniel Lockyer 2022-10-05 16:47:00 +07:00
parent 0bf6268091
commit 609fcb17c0
No known key found for this signature in database

View File

@ -43,7 +43,7 @@
"lint": "eslint src --ext .js --cache",
"preship": "yarn lint",
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; fi",
"postship": "git push ${GHOST_UPSTREAM:-origin} main --follow-tags && yarn publish . --tag $npm_package_version",
"postship": "git push ${GHOST_UPSTREAM:-origin} --follow-tags && yarn publish . --tag $npm_package_version",
"posttest": "yarn lint",
"analyze": "source-map-explorer 'umd/*.js'",
"prepublishOnly": "yarn build"