🎨 Version and hash on footer
This commit is contained in:
@@ -690,6 +690,10 @@ fieldset#history {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mono {
|
||||||
|
font-family: 'Roboto Mono', monospace;
|
||||||
|
}
|
||||||
|
|
||||||
#response-details-wrapper {
|
#response-details-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
2
build.js
2
build.js
@@ -36,7 +36,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get the current version hash as the short hash from Git.
|
// 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.
|
// Get the 'variant' name as the branch, if it's not master.
|
||||||
version.variant =
|
version.variant =
|
||||||
process.env.TRAVIS_BRANCH ||
|
process.env.TRAVIS_BRANCH ||
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<!-- Bottom section of footer: version/author information -->
|
<!-- Bottom section of footer: version/author information -->
|
||||||
<p class="align-center">
|
<p class="align-center mono">
|
||||||
<span v-if="version.name">
|
<span v-if="version.name">
|
||||||
<a
|
<a
|
||||||
v-bind:href="'https://github.com/liyasthomas/postwoman/releases/tag/' + version.name"
|
v-bind:href="'https://github.com/liyasthomas/postwoman/releases/tag/' + version.name"
|
||||||
|
|||||||
Reference in New Issue
Block a user