Skip to content

Commit 391f031

Browse files
committed
BUGFIX: Create a .npmignore file in the source folder of the scaffold prior to a release to avoid not shipping the gitignore
1 parent fc31cf2 commit 391f031

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ else
2323
# Create the required .npmrc file which points the `npm` CLI to use the `NPM_TOKEN``for auth.
2424
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
2525

26+
# Create an empty npm ignore to avoid not shipping/packing the scaffolds .gitignore.
27+
touch packages/create-react-microservice-scaffold/src/.npmignore
28+
2629
echo "Releasing $VERSION ..."
2730
npx lerna publish --skip-git --yes --exact --repo-version=$VERSION
2831

0 commit comments

Comments
 (0)