diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2014-02-03 16:32:45 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2014-02-03 16:32:45 +0000 |
commit | 301d812e5d1fe51776a31cd231b6fbb21dec0529 (patch) | |
tree | 8a15d1a09d098fe5dd9ef7d3c7eb46d216a906fc | |
parent | 7c460dbf79469a27f1c8bd289d05b5544b7d1221 (diff) | |
download | pdf-over-301d812e5d1fe51776a31cd231b6fbb21dec0529.tar.gz pdf-over-301d812e5d1fe51776a31cd231b6fbb21dec0529.tar.bz2 pdf-over-301d812e5d1fe51776a31cd231b6fbb21dec0529.zip |
Create Releases.txt during publishing
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@510 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
-rwxr-xr-x | publish.sh | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -6,12 +6,12 @@ LOG_DIR="log" CODEBASE_URL="http:\/\/abyss.iaik.tugraz.at\/pdf-over\/" CONTEXT_URL="http:\/\/abyss.iaik.tugraz.at\/pdf-over\/" HOMEPAGE_URL="http:\/\/www.buergerkarte.at" - +RELEASE_FILE="Release.txt" #### DON'T CONFIGURE #### BASEDIR="`dirname $0`" -#VERSION=`grep -m1 "<version>" "$BASEDIR/pom.xml" | sed -e "s/[ \t]*<version>\(.*\)<\/version>/\1/"` +VERSION=`grep -m1 "<version>" "$BASEDIR/pom.xml" | sed -e "s/[ \t]*<version>\(.*\)<\/version>/\1/"` TBOLDGRAY="\033[1;30m" TGREEN="\033[0;32m" @@ -109,6 +109,15 @@ else fi fi +begin_phase "Creating Release.txt..." +echo $VERSION > "$PUBLISH_DIR/$RELEASE_FILE" +RETVAL=$? +if [ $RETVAL -ne 0 ]; then + end_phase "FAILED" +else + end_phase "OK" +fi + begin_phase "Copying images..." cp -r ./pdf-over-gui/src/main/resources/icons "$PUBLISH_DIR" RETVAL=$? |