Fixed versioning for canary builds

no issue

- premajor will build a 5.0.0 prerelease but we want a 4.0.0 prerelease
  built
This commit is contained in:
Daniel Lockyer 2021-02-03 09:29:04 +00:00
parent 170e168543
commit d9a7fb0677
No known key found for this signature in database
GPG Key ID: FFBC6FA2A6F6ABC1

View File

@ -188,8 +188,8 @@ jobs:
working-directory: core/client
- run: if [ -n "$(git status --porcelain)" ]; then git add core/client content/themes/casper && git commit -m "Updated Ghost-Admin and Casper"; fi
- run: npm version premajor --preid="pre.$ghost_hash.$ghost_admin_hash"
- run: npm version premajor --preid="pre.$ghost_hash.$ghost_admin_hash"
- run: npm version prerelease --preid="pre.$ghost_hash.$ghost_admin_hash"
- run: npm version prerelease --preid="pre.$ghost_hash.$ghost_admin_hash"
working-directory: core/client
- run: grunt release --skip-update