Skip to content

Commit

Permalink
fixing script
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-t committed Nov 4, 2017
1 parent 2900acf commit bc7b42e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make_pkg.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit bc7b42e

Please sign in to comment.