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
:art: Version and hash on footer
Liyas Thomasb193625fb62f
diff --git a/assets/css/styles.scss b/assets/css/styles.scssindex 6650bd2af..f288d59c6 100644--- a/assets/css/styles.scss+++ b/assets/css/styles.scss@@ -690,6 +690,10 @@ fieldset#history {text-align: right;}+.mono {+ font-family: 'Roboto Mono', monospace;+}+#response-details-wrapper {position: relative;overflow: hidden;diff --git a/build.js b/build.jsindex 22ebe8164..80c27f80d 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 bba31372b..fd1ad7935 100644--- a/layouts/default.vue+++ b/layouts/default.vue@@ -131,7 +131,7 @@</button></div><!-- Bottom section of footer: version/author information -->- <p class="align-center">+ <p class="align-center mono"><span v-if="version.name"><av-bind:href="'https://github.com/liyasthomas/postwoman/releases/tag/' + version.name"