Store the version in the binary dist.

This commit is contained in:
Paulo Gustavo Veiga 2012-07-13 01:52:48 -03:00
parent 41c1113058
commit 86fca31251
5 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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 790 B

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 B