Skip to content

Commit 7ee98f3

Browse files
committed
fix(scripts): Make cd independent of command success
1 parent 2210282 commit 7ee98f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ echo "[2] Removing dist folder"
1111
rm -rf dist/
1212

1313
echo "[3] Updating CHANGELOG"
14-
cd projects/ngqp/core && standard-version --infile ../../../CHANGELOG.md && cd -
14+
cd projects/ngqp/core; standard-version --infile ../../../CHANGELOG.md; cd -
1515

1616
echo "[4] Building @ngqp/core"
1717
yarn run core:build
@@ -27,7 +27,7 @@ echo "[7] Pushing to remote"
2727
git push
2828

2929
echo "[8] Publishing to npm"
30-
cd dist/ngqp/core && npm publish --access public && cd -
30+
cd dist/ngqp/core; npm publish --access public; cd -
3131

3232
echo "[9] Deploying website"
3333
yarn run demo:publish

0 commit comments

Comments
 (0)