Skip to content

Commit

Permalink
fix: remove .env file from release archive
Browse files Browse the repository at this point in the history
This may leak secrets or collide with an on-site .env file.  Strip it
from the release archive.
  • Loading branch information
jniles committed Dec 2, 2020
1 parent ad87095 commit 78cec3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"before:init": "node utilities/translation/tfcomp.js client/src/i18n/en client/src/i18n/fr",
"after:bump": [
"NODE_ENV=production yarn build",
"rm bin/.env",
"GZIP=-9 tar -czvf ${version}.tar.gz bin/"
],
"after:release": [
Expand Down

0 comments on commit 78cec3e

Please sign in to comment.