You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2016/09/15 10:35:39 UTC

[14/37] tinkerpop git commit: Update script for the docs was using the version from `pom.xml` in its commit message, but actually chooses the right version from SVN. This commit fixes the commit message.

Update script for the docs was using the version from `pom.xml` in its commit message, but actually chooses the right version from SVN.
This commit fixes the commit message.

CTR


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/2500ba97
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/2500ba97
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/2500ba97

Branch: refs/heads/TINKERPOP-1280
Commit: 2500ba97c0d3e2587cde011cd021ad7e1c9f1735
Parents: 0142324
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Mon Sep 12 13:15:56 2016 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Mon Sep 12 13:15:56 2016 +0200

----------------------------------------------------------------------
 bin/update-current-docs.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2500ba97/bin/update-current-docs.sh
----------------------------------------------------------------------
diff --git a/bin/update-current-docs.sh b/bin/update-current-docs.sh
index 2169583..84ee75c 100755
--- a/bin/update-current-docs.sh
+++ b/bin/update-current-docs.sh
@@ -31,7 +31,7 @@ read -s -p "Password for SVN user ${USERNAME}: " PASSWORD
 echo
 
 SVN_CMD="svn --no-auth-cache --username=${USERNAME} --password=${PASSWORD}"
-VERSION=$(cat pom.xml | grep -A1 '<artifactId>tinkerpop</artifactId>' | grep '<version>' | awk -F '>' '{print $2}' | awk -F '<' '{print $1}')
+CURRENT=""
 
 mkdir -p target/svn
 rm -rf target/svn/*
@@ -53,5 +53,5 @@ do
 done
 
 ${SVN_CMD} add * --force
-${SVN_CMD} commit -m "Deploy docs for TinkerPop ${VERSION}"
+${SVN_CMD} commit -m "Deploy docs for TinkerPop ${CURRENT}"
 popd