put version in binary properly (#73)

Addresses #71 :

    Set version on the CLI framework.
    Add a build.sh script that injects variables into the build tooling using git and a version file.
    Set version in config.
This commit is contained in:
Tobi Smethurst
2021-06-28 12:17:20 +02:00
committed by GitHub
parent 87cf621e21
commit 4f3b3f5c0b
9 changed files with 38 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
<!-- footer.tmpl -->
<footer>
<div id="version">
Running GoToSocial version: <span class="accent">{{.instance.Version}}</span><br>
GoToSocial: <span class="accent">{{.instance.Version}}</span><br>
<a href="https://github.com/superseriousbusiness/gotosocial">Source Code</a>
</div>
<div id="contact">