⚗️ Hid commiit hash and variant from footer

This commit is contained in:
Liyas Thomas
2019-11-09 21:31:20 +05:30
parent b193625fb6
commit ee8f133ebb
2 changed files with 6 additions and 6 deletions

View File

@@ -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 ||

View File

@@ -138,18 +138,18 @@
target="_blank"
rel="noopener"
>{{version.name}}</a>
<span v-if="version.hash">
<!-- <span v-if="version.hash">
-
<a
v-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> -->
&#x2022;
</span> by
<a href="https://liyasthomas.web.app" target="_blank" rel="noopener">Liyas Thomas 🦄</a> &#x2022;
</span>
<a href="https://liyasthomas.web.app" target="_blank" rel="noopener">🦄</a> &#x2022;
<a href="https://postwoman.launchaco.com" target="_blank" rel="noopener">Subscribe</a>
</p>
</footer>