Hardcoded version

This commit is contained in:
Michal Horejsek
2020-08-27 08:13:08 +02:00
parent 84147a2cb0
commit af89931f05
3 changed files with 7 additions and 1 deletions

View File

@ -8,7 +8,8 @@ TARGET_OS?=${GOOS}
## Build
.PHONY: build build-nogui check-has-go
BRIDGE_VERSION?=$(shell git describe --abbrev=0 --tags)-git
# Keep version hardcoded so app build works also without Git repository.
BRIDGE_VERSION?=1.3.3-git
REVISION:=$(shell git rev-parse --short=10 HEAD)
BUILD_TIME:=$(shell date +%FT%T%z)

1
go.mod
View File

@ -61,6 +61,7 @@ require (
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/stretchr/testify v1.6.1
github.com/therecipe/qt v0.0.0-20200701200531-7f61353ee73e
github.com/therecipe/qt/internal/binding/files/docs/5.13.0 v0.0.0-20200823155225-6367b9236a24 // indirect
github.com/twinj/uuid v1.0.0 // indirect
github.com/urfave/cli v1.22.4
go.etcd.io/bbolt v1.3.5

4
go.sum
View File

@ -176,6 +176,10 @@ github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/therecipe/qt v0.0.0-20200701200531-7f61353ee73e h1:G0DQ/TRQyrEZjtLlLwevFjaRiG8eeCMlq9WXQ2OO2bk=
github.com/therecipe/qt v0.0.0-20200701200531-7f61353ee73e/go.mod h1:SUUR2j3aE1z6/g76SdD6NwACEpvCxb3fvG82eKbD6us=
github.com/therecipe/qt v0.0.0-20200823155225-6367b9236a24 h1:ttPhH6BYEHzyGmb0ZezAxPF8KsTtjjh34WpKgKL3iWM=
github.com/therecipe/qt/internal/binding/files/docs v0.0.0-20191019224306-1097424d656c h1:/VhcwU7WuFEVgDHZ9V8PIYAyYqQ6KNxFUjBMOf2aFZM=
github.com/therecipe/qt/internal/binding/files/docs/5.13.0 v0.0.0-20200823155225-6367b9236a24 h1:qgTFR9sZ2TyKtSyopmp3V28B0bn53BDhu10IxQqhoi4=
github.com/therecipe/qt/internal/binding/files/docs/5.13.0 v0.0.0-20200823155225-6367b9236a24/go.mod h1:mH55Ek7AZcdns5KPp99O0bg+78el64YCYWHiQKrOdt4=
github.com/twinj/uuid v1.0.0 h1:fzz7COZnDrXGTAOHGuUGYd6sG+JMq+AoE7+Jlu0przk=
github.com/twinj/uuid v1.0.0/go.mod h1:mMgcE1RHFUFqe5AfiwlINXisXfDGro23fWdPUfOMjRY=
github.com/urfave/cli v1.22.4 h1:u7tSpNPPswAFymm8IehJhy4uJMlUuU/GmqSkvJ1InXA=