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