From ec059d42d77a5f092135635f478790e77a2685df Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 24 Jan 2022 10:58:41 -0300 Subject: [PATCH] replace abbrev-ref with short since abbrev will try to use branch name --- packages/taler-wallet-cli/rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();