Skip to content

Commit 04b2c8c

Browse files
committed
fix(other): Copy README and LICENSE on release
1 parent 4865d5f commit 04b2c8c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

scripts/release.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env bash
2-
# TODO: Copy README, LICENSE
32
# TODO: Update website
43
# TODO: --dry-run (changelog, no publish)
54

@@ -21,8 +20,12 @@ yarn run core:build
2120
echo "[5] Building schematics"
2221
yarn run schematics:build
2322

24-
echo "[6] Pushing to remote"
23+
echo "[6] Copy README and LICENSE"
24+
cp README.md dist/ngqp/core
25+
cp LICENSE dist/ngqp/core
26+
27+
echo "[7] Pushing to remote"
2528
git push
2629

27-
echo "[7] Publishing to npm"
30+
echo "[8] Publishing to npm"
2831
cd dist/ngqp/core && npm publish --access public && cd -

0 commit comments

Comments
 (0)