mirror of
https://github.com/status-im/status-go.git
synced 2025-02-06 03:44:38 +00:00
fix_: path to version.sh used in go:generate
This commit is contained in:
parent
e71fdbc63c
commit
06d2419a25
@ -8,7 +8,7 @@ import (
|
||||
// Use go:generate script to get the version and git commit.
|
||||
// VERSION and GIT_COMMIT files are used in further `go:embed` commands to load values to the variables.
|
||||
// Suppress errors, assuming files have already been properly generated. Required for Docker builds.
|
||||
//go:generate sh -c "../../_assets/scripts/version.sh > VERSION || true"
|
||||
//go:generate sh -c "git describe --tags --dirty='-dirty' > VERSION || true"
|
||||
//go:generate sh -c "git rev-parse --short HEAD > GIT_COMMIT || true"
|
||||
|
||||
var (
|
||||
|
Loading…
x
Reference in New Issue
Block a user