Skip to content
Permalink
Browse files

Export commit hash to prod as well

  • Loading branch information...
danielcaldas committed May 30, 2019
1 parent 313bbdc commit aad949425d37ae8d8f4ef0285e8ba2df4e4df6b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 package.json
@@ -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": [

0 comments on commit aad9494

Please sign in to comment.
You can’t perform that action at this time.