mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-17 02:50:49 +01:00
Using the previously added new API endpoint, the update flow can now skip updates if the latest version is already installed. This also improves the output by making it so update can print the version. Also improved the error handling.
5 lines
150 B
Bash
Executable File
5 lines
150 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
GIT_HASH=$(git rev-parse HEAD)
|
|
echo "-X main.GitCommit=$GIT_HASH -X client.lib.Version=`cat VERSION` -w -extldflags \"-static\""
|