Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 988 Bytes

File metadata and controls

49 lines (38 loc) · 988 Bytes

Release Checklist

Before publishing:

  1. Update versions in:
    • packages/core/package.json
    • packages/cli/package.json
  2. Run:
npm ci
npm test
npm pack --workspace packages/core --dry-run
npm pack --workspace packages/cli --dry-run
  1. Test packed install in a temporary project:
PACK_DIR=/tmp/beforeship-pack
mkdir -p "$PACK_DIR"
npm pack --workspace packages/core --pack-destination "$PACK_DIR"
npm pack --workspace packages/cli --pack-destination "$PACK_DIR"
mkdir -p /tmp/beforeship-install-test
cd /tmp/beforeship-install-test
npm init -y
npm install "$PACK_DIR"/beforeship-core-*.tgz "$PACK_DIR"/beforeship-*.tgz
npx beforeship --version
npx beforeship scan --no-report
  1. Publish core first:
npm publish --workspace packages/core --access public
  1. Publish CLI:
npm publish --workspace packages/cli --access public
  1. Smoke test:
npx beforeship@latest --version
npx beforeship@latest scan --no-report