Skip to content

Commit

Permalink
fix_: path to version.sh used in go:generate
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Jan 24, 2025
1 parent e71fdbc commit 06d2419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 06d2419

Please sign in to comment.