Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix top-level release script #201

Merged
merged 1 commit into from
Feb 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
"build-lib:watch": "tsc --watch",
"build-docs": "./scripts/build-docs.sh",
"build-docs:watch": "./scripts/build-docs.sh --watch",
"serve-docs": "browser-sync docs",
"lint": "eslint --ext .ts src/",
"fix": "npm run lint -- --fix",
"lint:fix": "npm run lint -- --fix",
"release": "./scripts/release.sh",
"serve-docs": "browser-sync docs",
"test": "./scripts/test.sh",
"unit-test": "jest src"
},
Expand Down
6 changes: 3 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cd packages

cd cli
npm ci
./scripts/release.sh "${SEMVER_BUMP}"
npm run release -- "${SEMVER_BUMP}"
cd ..

cd cli-examples
Expand All @@ -35,12 +35,12 @@ cd cli-website
npm ci
npm install @carnesen/cli@latest
npm install @carnesen/cli-examples@latest
npm publish
npm run release
cd ..

cd cli-website-server
npm ci
npm install @carnesen/cli-docs@latest
npm install @carnesen/cli-website@latest
npm publish
npm run release
cd ..