Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
:alembic: Hid commiit hash and variant from footer
Liyas Thomasee8f133ebb5d
diff --git a/build.js b/build.jsindex 80c27f80d..22ebe8164 100644--- a/build.js+++ b/build.js@@ -36,7 +36,7 @@ try {}// Get the current version hash as the short hash from Git.- version.hash = runCommand("git", ["rev-parse --short HEAD"]);+ version.hash = runCommand("git", ["rev-parse", "--short", "HEAD"]);// Get the 'variant' name as the branch, if it's not master.version.variant =process.env.TRAVIS_BRANCH ||diff --git a/layouts/default.vue b/layouts/default.vueindex fd1ad7935..e6401b892 100644--- a/layouts/default.vue+++ b/layouts/default.vue@@ -138,18 +138,18 @@target="_blank"rel="noopener">{{version.name}}</a>- <span v-if="version.hash">+ <!-- <span v-if="version.hash">-<av-bind:href="'https://github.com/liyasthomas/postwoman/commit/' + version.hash"target="_blank"rel="noopener">{{version.hash}}</a>- </span>- <span v-if="version.variant">({{version.variant}})</span>+ </span> -->+ <!-- <span v-if="version.variant">({{version.variant}})</span> -->•- </span> by- <a href="https://liyasthomas.web.app" target="_blank" rel="noopener">Liyas Thomas 🦄</a> •+ </span>+ <a href="https://liyasthomas.web.app" target="_blank" rel="noopener">🦄</a> •<a href="https://postwoman.launchaco.com" target="_blank" rel="noopener">Subscribe</a></p></footer>