diff --git a/package.json b/package.json index 53d773c28d..9468f6f314 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,8 @@ "cov:e2e:full:publish": "codecov --disable=gcov -f ./coverage/e2e/lcov.info -F e2e-full", "cov:e2e:stable:publish": "codecov --disable=gcov -f ./coverage/e2e/lcov.info -F e2e-stable", "cov:unit:publish": "codecov --disable=gcov -f ./coverage/unit/lcov.info -F unit", - "prepare": "npm run build:prod && npx tsc" + "prepare": "npm run build:prod && npx tsc", + "preinstall": "git rev-parse HEAD >> version.info; git rev-parse --abbrev-ref HEAD >> version.info" }, "repository": { "type": "git",