Skip to content

Commit

Permalink
Fix script choosing wrong artefact
Browse files Browse the repository at this point in the history
Depending on order, scripts might choose the wrong jar (i.e. test
instead of non test). This commit addresses that by sedding away
results which have `javadoc` or `tests` in the jar name
  • Loading branch information
felixmulder authored and smarter committed Nov 22, 2016
1 parent f582ee0 commit 799bd1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/common
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function build_jar {

local sedjar="$3"
if [ "$sedjar" == "" ]; then
sedjar="/.*\.jar/p"
sedjar="/tests/d; /javadoc/d; /.*\.jar/p"
fi

if [ "$jar" == "" ]; then
Expand Down

0 comments on commit 799bd1a

Please sign in to comment.