From 609fcb17c065182b5cf3a68a55f85a7276727b91 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Wed, 5 Oct 2022 16:47:00 +0700 Subject: [PATCH] Removed `main` from `yarn ship` - we might not necessarily be pushing to `main`, for example, if we're doing a patch release --- ghost/portal/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/portal/package.json b/ghost/portal/package.json index 86a9f2704b..039907801a 100644 --- a/ghost/portal/package.json +++ b/ghost/portal/package.json @@ -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"