Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
5203: fix: remove old bin before archive upload r=mbayopanda a=jniles

If your bin isn't clean, you upload old artifacts.  This cleans bin before running yarn build in production mode while releasing.

Co-authored-by: Jonathan Niles <jonathanwniles@gmail.com>
  • Loading branch information
bors[bot] and jniles authored Dec 5, 2020
2 parents 877f503 + 5192750 commit 364bede
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 @@ -38,6 +38,7 @@
"hooks": {
"before:init": "node utilities/translation/tfcomp.js client/src/i18n/en client/src/i18n/fr",
"after:bump": [
"rm bin",
"cross-env NODE_ENV=production yarn build",
"rm bin/.env",
"cross-env tar -czvf ${version}.tar.gz bin"
Expand Down

0 comments on commit 364bede

Please sign in to comment.