Skip to content

Commit

Permalink
Remove node_modules before creating tarball (getredash#3603)
Browse files Browse the repository at this point in the history
* Update pack

* Remove node_modules before packing
  • Loading branch information
arikfr authored and jezdez committed Mar 25, 2019
1 parent 7b63cbc commit a94312e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
- run: .circleci/update_version
- run: npm run bundle
- run: npm run build
- run: rm -rf ./node_modules/
- run: .circleci/pack
- store_artifacts:
path: /tmp/artifacts/
Expand Down
2 changes: 1 addition & 1 deletion .circleci/pack
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ FILENAME=$NAME.$FULL_VERSION.tar.gz

mkdir -p /tmp/artifacts/

tar -zcv -f /tmp/artifacts/$FILENAME --exclude=".git" --exclude="optipng*" --exclude="cypress" --exclude="*.pyc" --exclude="*.pyo" --exclude="venv" --exclude="^node_modules" *
tar -zcv -f /tmp/artifacts/$FILENAME --exclude=".git" --exclude="optipng*" --exclude="cypress" --exclude="*.pyc" --exclude="*.pyo" --exclude="venv" *

0 comments on commit a94312e

Please sign in to comment.