Add version to the commit

main
Paulo Gustavo Veiga 2012-07-13 21:15:12 -03:00
parent 35520f7fd1
commit 39e4f18a48
1 changed files with 2 additions and 1 deletions

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 cp -r $BASE_DIR/../wise-webapp/src/test/sql $TARGET_DIR/wisemapping-$WISE_VERSION/config
# Store version # Store version
echo $1 $WISE_WEBAPP_DIR/version echo $1 > $WISE_WEBAPP_DIR/version
git rev-parse HEAD >> $WISE_WEBAPP_DIR/version
# Zip all ... # Zip all ...
cd $TARGET_DIR cd $TARGET_DIR