From 39e4f18a48ecab5915d5bad62947f9bbaf14bb27 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Fri, 13 Jul 2012 21:15:12 -0300 Subject: [PATCH] Add version to the commit --- distribution/package-bin.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distribution/package-bin.sh b/distribution/package-bin.sh index 7c489f2e..9bdadee0 100755 --- a/distribution/package-bin.sh +++ b/distribution/package-bin.sh @@ -55,7 +55,8 @@ cp $BASE_DIR/wisemapping.xml $JETTY_DIR/contexts/ cp -r $BASE_DIR/../wise-webapp/src/test/sql $TARGET_DIR/wisemapping-$WISE_VERSION/config # Store version -echo $1 $WISE_WEBAPP_DIR/version +echo $1 > $WISE_WEBAPP_DIR/version +git rev-parse HEAD >> $WISE_WEBAPP_DIR/version # Zip all ... cd $TARGET_DIR