diff options
author | Adam Kocoloski <adam@cloudant.com> | 2011-01-27 16:07:18 -0500 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2011-01-27 16:19:07 -0500 |
commit | 97db6774d460d41c732e8d4ece1908fe3921cc03 (patch) | |
tree | 3999d3da098cf86eb3d53dc428491557f3df958f | |
parent | f9102b903e3ff15cd9bea3bf4bcc7441e7a7d3a0 (diff) |
Set couch app vsn based on deviation from last Apache tag
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | apps/couch/src/couch.app.src | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -14,10 +14,12 @@ all: compile +appfile = apps/couch/ebin/couch.app compile: @echo "==> couchjs (compile)" @cd couchjs && python scons/scons.py @./rebar compile + @cat $(appfile) | sed s/%VSN%/`git describe --match 1.*`/ > $(appfile) clean: @echo "==> couchjs (clean)" diff --git a/apps/couch/src/couch.app.src b/apps/couch/src/couch.app.src index 26bcd406..3b94feb7 100644 --- a/apps/couch/src/couch.app.src +++ b/apps/couch/src/couch.app.src @@ -1,6 +1,6 @@ {application, couch, [ {description, "Apache CouchDB"}, - {vsn, "1.0.1-patch-1"}, + {vsn, "%VSN%"}, {registered, [ couch_config, couch_db_update, |