Add version to the commit

This commit is contained in:
Paulo Gustavo Veiga 2012-07-13 21:15:12 -03:00
parent 35520f7fd1
commit 39e4f18a48

View File

@ -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