We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sh
1 parent eb638f1 commit 36a630dCopy full SHA for 36a630d
Makefile
@@ -73,8 +73,7 @@ build-binary:
73
74
.PHONY: build-release
75
build-release:
76
- @if [[ $(shell git status --porcelain | wc -l) -gt 0 ]]; \
77
- then \
+ @if [ $(shell git status --porcelain | wc -l) -gt 0 ]; then \
78
echo "There are local modifications in the repo" > /dev/stderr; \
79
exit 1; \
80
fi
cmd/PolicyGenerator/main.go
@@ -28,7 +28,7 @@ func main() {
28
Version = info.Main.Version
29
}
30
31
- if Version == "" {
+ if Version == "" || Version == "(devel)" {
32
Version = "Unversioned binary"
33
34
0 commit comments