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/10/31 20:34:33 UTC
[couchdb] 04/17: Cleanups for 2.1.1 proper version tagging
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch 211-update-2
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit cfa4bb003e517e5ec8f14980f4022a2dcb032740
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Fri Oct 20 23:52:25 2017 -0400
Cleanups for 2.1.1 proper version tagging
---
Makefile | 17 +----------------
rel/reltool.config | 2 +-
version.mk | 2 +-
3 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/Makefile b/Makefile
index 78e59cf..14de1a7 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ include version.mk
REBAR?=$(shell echo `pwd`/bin/rebar)
IN_RELEASE = $(shell if [ ! -d .git ]; then echo true; fi)
-COUCHDB_VERSION_SUFFIX = $(shell if [ -d .git ]; then echo '-`git rev-parse --short --verify HEAD`'; fi)
+COUCHDB_VERSION_SUFFIX = $(shell if [ ! -z "$(COUCH_RC)" ]; then echo '-RC$(COUCH_RC)'; else if [ -d .git ]; then echo '-`git rev-parse --short --verify HEAD`'; fi; fi)
COUCHDB_VERSION = $(vsn_major).$(vsn_minor).$(vsn_patch)$(COUCHDB_VERSION_SUFFIX)
DESTDIR=
@@ -350,21 +350,6 @@ uninstall:
@rm -rf $(DESTDIR)/$(html_dir)
@rm -rf $(DESTDIR)/$(man_dir)
-.PHONY: rc
-rc:
-ifeq ($(strip $(COUCH_RC)),)
- @echo "COUCH_RC environment variable not set. Run as 'COUCH_RC=X make rc'"
-else
- @rm -rf apache-couchdb-*
- @$(MAKE) dist 2>&1 > /dev/null
- @rm apache-couchdb-*.tar.gz
- @mv apache-couchdb-* apache-couchdb-2.1.0-RC$(COUCH_RC)
- @tar czf apache-couchdb-2.1.0-RC$(COUCH_RC).tar.gz apache-couchdb-2.1.0-RC$(COUCH_RC)
- @echo "Done apache-couchdb-2.1.0-RC$(COUCH_RC).tar.gz"
- @echo "Here is the list of commits since the last RC"
- @git log --left-right --graph --cherry-pick --oneline 2.1.0-RC$(shell echo $(COUCH_RC)-1 | bc)...master
- @echo "Done!"
-endif
################################################################################
# Misc
diff --git a/rel/reltool.config b/rel/reltool.config
index 762848f..8bcf4c2 100644
--- a/rel/reltool.config
+++ b/rel/reltool.config
@@ -12,7 +12,7 @@
{sys, [
{lib_dirs, ["../src"]},
- {rel, "couchdb", "2.1.0", [
+ {rel, "couchdb", "2.1.1", [
%% stdlib
asn1,
compiler,
diff --git a/version.mk b/version.mk
index 10a5151..a0b8bd1 100644
--- a/version.mk
+++ b/version.mk
@@ -1,3 +1,3 @@
vsn_major=2
vsn_minor=1
-vsn_patch=0
+vsn_patch=1
--
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.