fix the way thne version is calculated in the build script,
This commit is contained in:
parent
22fc27545e
commit
627cc1411b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ in {
|
|||
buildPhase = ''
|
||||
GOBIN=$PWD/bin go install -v ./cmd/compile_assets
|
||||
$PWD/bin/compile_assets
|
||||
GOBIN=$PWD/bin go install -ldflags "-X github.com/turt2live/matrix-media-repo/common/version.GitCommit=$(git rev-list -1 HEAD) -X github.com/turt2live/matrix-media-repo/common/version.Version=$(git describe --tags)" -v ./cmd/...
|
||||
GOBIN=$PWD/bin go install -ldflags "-X github.com/turt2live/matrix-media-repo/common/version.GitCommit=$(git rev-list -1 HEAD) -X github.com/turt2live/matrix-media-repo/common/version.Version=${version}" -v ./cmd/...
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
|
|
Reference in a new issue