diff options
author | Joan Touzet <joant@atypical.net> | 2017-07-09 00:26:32 -0400 |
---|---|---|
committer | Joan Touzet <joant@atypical.net> | 2017-07-09 00:26:32 -0400 |
commit | 017d76ff5b1b72e97699b957cc05a3fcce98d6c0 (patch) | |
tree | 7ae228d1ea59b73a8dd46b892209b7b01d73b965 | |
parent | 13a6e1f79f0be10bdeeaaf84f02dc8d4a3223e32 (diff) | |
download | couchdb-017d76ff5b1b72e97699b957cc05a3fcce98d6c0.tar.gz |
Fix Windows release builds
-rw-r--r-- | Makefile.win | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.win b/Makefile.win index faed38e39..4b1b54678 100644 --- a/Makefile.win +++ b/Makefile.win @@ -16,11 +16,12 @@ SHELL=cmd.exe REBAR?=$(shell where rebar.cmd) IN_RELEASE = $(shell if not exist .git echo true) ifeq ($(IN_RELEASE), true) -COUCHDB_VERSION_SUFFIX = -$(shell git rev-parse --short --verify HEAD) +COUCHDB_VERSION_SUFFIX= +COUCHDB_VERSION = $(vsn_major).$(vsn_minor).$(vsn_patch) else -COUCHDB_VERSION_SUFFIX = -endif +COUCHDB_VERSION_SUFFIX = -$(shell git rev-parse --short --verify HEAD) COUCHDB_VERSION = $(vsn_major).$(vsn_minor).$(vsn_patch)$(COUCHDB_VERSION_SUFFIX) +endif DESTDIR= |