diff --git a/databus-release.sh b/databus-release.sh
index d0447ad3fa51c50694a2f9dea005d75b7149546a..6cf8260698f538a19c2b0361c4c15ed08bd03cba 100755
--- a/databus-release.sh
+++ b/databus-release.sh
@@ -38,8 +38,7 @@ cd $DATABUSDIR/dbpedia/$GROUP;
 mvn versions:set -DnewVersion=$(ls * | grep '^[0-9]\{4\}.[0-9]\{2\}.[0-9]\{2\}$' | sort -u  | tail -1);
 
 # get git commit link
-GITSHORTHASH=${git log | head -1 | cut -f2 -d ' ' | grep -o "^......."  }
-GITHUBLINK=${git log | head -1 | cut -f2 -d ' ' | sed 's|^|https://github.com/dbpedia/extraction-framework/commit/|'}
+GITHUBLINK="$(diefCommitLink)"
 
 PUBLISHER="https://vehnem.github.io/webid.ttl#this";
 # TODO marvin: shouldn't this be the web dir directly?
diff --git a/functions.sh b/functions.sh
index 2dcd03548de0d2d1deba46c3b375cde6442d7be1..317b9057ce87088de182f3c5216516cb2faff14d 100755
--- a/functions.sh
+++ b/functions.sh
@@ -200,8 +200,8 @@ mapAndCopy() {
 
 }
 
+diefCommitLink() {
 
-
-
-
-
+	cd $DIEFDIR
+	echo "https://github.com/dbpedia/extraction-framework/commit/$(git rev-parse @)"
+}