diff --git a/databus-release.sh b/databus-release.sh index 4f3cc69b09f63525b9f2888c511dbbd42e26790e..c7933e464984458fbc174bd57f7b7ee711fb92be 100755 --- a/databus-release.sh +++ b/databus-release.sh @@ -39,6 +39,7 @@ fi # cd $DATABUSDIR # git pull + # creates links in databus dir # iterate all .ttl.bz2 files # uncomment for testing @@ -46,10 +47,11 @@ for path in $(find "$EXTRACTIONBASEDIR" -name "*.ttl.bz2" | sort); do mapAndCopy $path done - # deploy cd $DATABUSDIR/dbpedia/$GROUP; -mvn versions:set -DnewVersion=$(ls * | grep '^[0-9]\{4\}.[0-9]\{2\}.[0-9]\{2\}$' | sort -u | tail -1); +VERSION=$(ls * | grep '^[0-9]\{4\}.[0-9]\{2\}.[0-9]\{2\}$' | sort -u | tail -1) +echo $VERSION +mvn versions:set -DnewVersion=$VERSION; # get git commit link GITHUBLINK="$(diefCommitLink)" @@ -72,7 +74,7 @@ COMMENTPREFIX:$COMMENTPREFIX for i in `ls -d */` ; do cd $i ; - mvn clean deploy -Ddatabus.publisher="$PUBLISHER" -Ddatabus.packageDirectory="$PACKAGEDIR" -Ddatabus.downloadUrlPath="$DOWNLOADURL" -Ddatabus.labelPrefix="$LABELPREFIX" -Ddatabus.commentPrefix="$COMMENTPREFIX"; + mvn clean deploy -Ddatabus.databus.pkcs12serverId="databus.marvin" -Ddatabus.publisher="$PUBLISHER" -Ddatabus.packageDirectory="$PACKAGEDIR" -Ddatabus.downloadUrlPath="$DOWNLOADURL" -Ddatabus.labelPrefix="$LABELPREFIX" -Ddatabus.commentPrefix="$COMMENTPREFIX"; cd .. done diff --git a/functions.sh b/functions.sh index 8edcd63955bdf282c9c767b90b9c913763d14f3a..738be807f16331cadfdd026ac34e3f14798ba30e 100755 --- a/functions.sh +++ b/functions.sh @@ -196,7 +196,7 @@ mapAndCopy() { # < enwiki/20191001/enwiki-20191001-topical-concepts_redirected.ttl.bz2 # copy - # TODO enable after testing + # TODO comment after testing cp -n "$path" "$targetFolder/$targetFile" # ln -s "$path" "$targetFolder/$targetFile" echo -e "< $path\n> $targetFolder/$targetFile\n----------------------"