You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/07/09 04:26:53 UTC

[couchdb] branch master updated: Fix Windows release builds

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 017d76f  Fix Windows release builds
017d76f is described below

commit 017d76ff5b1b72e97699b957cc05a3fcce98d6c0
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Sun Jul 9 00:26:32 2017 -0400

    Fix Windows release builds
---
 Makefile.win | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile.win b/Makefile.win
index faed38e..4b1b546 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=
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].