Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Commit

Permalink
Fix run script so that it always gets the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Ferreira committed Sep 20, 2018
1 parent 5d24eea commit 1951e7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/ffwd
Expand Up @@ -8,7 +8,8 @@ JVM_OPTS=${JVM_OPTS:-""}
MVN=${MVN:-mvn}
MVN_OPTS=${MVN_OPTS:-"-B -V"}

dist_jar="$dist/target/ffwd-agent-0.0.1-SNAPSHOT.jar"
current_version=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec 2>/dev/null`
dist_jar="$dist/target/ffwd-agent-${current_version}.jar"

CLASSPATH="$dist_jar"

Expand Down

0 comments on commit 1951e7c

Please sign in to comment.