From bc7b42e1d97c4dfea0bc8472b375408b70c1e84b Mon Sep 17 00:00:00 2001 From: Fabio Ticconi Date: Sat, 4 Nov 2017 23:14:39 +0100 Subject: [PATCH] fixing script --- make_pkg.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make_pkg.sh b/make_pkg.sh index 1f25ca5..fb53c7d 100755 --- a/make_pkg.sh +++ b/make_pkg.sh @@ -1,10 +1,10 @@ #!/bin/bash -v="0.1.0" +v=`ls target/alone-rl-*-jar-with-dependencies.jar | awk -F"-" '{print $3}'` mvn clean package -Dmaven.test.skip=true -cp target/alone-rl-$v-SNAPSHOT-jar-with-dependencies.jar alone-rl-$v.jar +cp target/alone-rl-*-jar-with-dependencies.jar alone-rl-$v.jar 7z a -tzip alone-rl-$v.zip data/ alone-rl-$v.jar