Commit b21897b70989f8a45b5a89329166d34a28a191c1
1 parent
88d159c6
Build time does not create new version
Showing
1 changed file
with
1 additions
and
2 deletions
@@ -20,8 +20,7 @@ $(LIBRARY): $(SOURCES) | @@ -20,8 +20,7 @@ $(LIBRARY): $(SOURCES) | ||
20 | go install $(PACKAGE) | 20 | go install $(PACKAGE) |
21 | 21 | ||
22 | .version: | 22 | .version: |
23 | - -@printf "%s\n%s\n%s" \ | ||
24 | - "$(VERSION)" "$(REVISION)" "$(BUILDTIME)" >$@.new | 23 | + -@printf "%s\n%s\n%s" "$(VERSION)" "$(REVISION)" >$@.new |
25 | -@diff $@ $@.new >/dev/null 2>&1 && rm $@.new || mv $@.new $@ | 24 | -@diff $@ $@.new >/dev/null 2>&1 && rm $@.new || mv $@.new $@ |
26 | 25 | ||
27 | version.go: version.go.m4 .version | 26 | version.go: version.go.m4 .version |
Please
register
or
login
to post a comment