aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-01-24 10:58:41 -0300
committerSebastian <sebasjm@gmail.com>2022-01-24 10:58:41 -0300
commitec059d42d77a5f092135635f478790e77a2685df (patch)
tree66631d0da1b818744ab7c13f10a4f19c0bc4fa47
parent97a1e09f6ea2a9aa68812c0f20ee6b18a8d4eca8 (diff)
replace abbrev-ref with short since abbrev will try to use branch name
-rw-r--r--packages/taler-wallet-cli/rollup.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/rollup.config.js b/packages/taler-wallet-cli/rollup.config.js
index 372d7537e..3674ede24 100644
--- a/packages/taler-wallet-cli/rollup.config.js
+++ b/packages/taler-wallet-cli/rollup.config.js
@@ -50,7 +50,7 @@ export default {
};
function getGitRevision() {
- return child_process.execSync(`git rev-parse --abbrev-ref HEAD`, {
+ return child_process.execSync(`git rev-parse --short HEAD`, {
encoding: 'utf-8',
windowsHide: true,
}).trim();