Skip to content

Commit b395b37

Browse files
committed
chore(ci): get rid of dirty flag
1 parent 5825d1c commit b395b37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_assets/scripts/version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env bash
2-
git describe --tags --dirty="-dirty"
2+
git describe --tags

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
// Use go:generate script to get the version and git commit.
99
// VERSION and GIT_COMMIT files are used in further `go:embed` commands to load values to the variables.
1010
// Suppress errors, assuming files have already been properly generated. Required for Docker builds.
11-
//go:generate sh -c "git describe --tags --dirty='-dirty' > VERSION || true"
11+
//go:generate sh -c "git describe --tags > VERSION || true"
1212
//go:generate sh -c "git rev-parse --short HEAD > GIT_COMMIT || true"
1313

1414
var (

0 commit comments

Comments
 (0)