Skip to content

Commit

Permalink
Export commit hash to prod as well
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcaldas committed May 30, 2019
1 parent 313bbdc commit aad9494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"server:lint": "eslint --config=./server/.eslintrc.js \"./server/**(!test).js\"",
"server:test": "nyc --reporter=text --reporter=html mocha --recursive --exit --compilers js:babel-core/register ./server/test",
"server:test-watch": "nyc --reporter=html mocha --recursive --watch --compilers js:babel-core/register ./server/test",
"start": "NODE_ENV=production pm2 start ./server/src --interpreter babel-node --no-daemon",
"start": "COMMIT_HASH=\"$(git rev-parse HEAD)\" NODE_ENV=production pm2 start ./server/src --interpreter babel-node --no-daemon",
"postinstall": "npm run client:dist"
},
"keywords": [
Expand Down

0 comments on commit aad9494

Please sign in to comment.