ivankelly commented on a change in pull request #772: bookkeeper script
excludes sources jar
URL: https://github.com/apache/bookkeeper/pull/772#discussion_r153022038
##########
File path: bookkeeper-server/bin/bookkeeper
##########
@@ -71,18 +71,18 @@ else
fi
# exclude tests jar
-RELEASE_JAR=$(ls ${BK_HOME}/*bookkeeper-server-*.jar 2> /dev/null | grep -v
tests | tail -1)
+RELEASE_JAR=$(ls ${BK_HOME}/*bookkeeper-server-*.jar 2> /dev/null | grep -v
tests | grep -v sources | tail -1)
Review comment:
Strange. Yes, we should make this more deterministic.
My shell(debian stable, bash) collates differently:
```~/src/bookkeeper $ ls bookkeeper-server/target/
apidocs
bookkeeper-server-4.7.0-SNAPSHOT-sources.jar classes
maven-archiver
bookkeeper-server-4.7.0-SNAPSHOT.jar
bookkeeper-server-4.7.0-SNAPSHOT-tests.jar generated-sources
maven-shared-archive-resources
bookkeeper-server-4.7.0-SNAPSHOT-javadoc.jar checkstyle-checker.xml
generated-test-sources maven-status
bookkeeper-server-4.7.0-SNAPSHOT-shaded.jar checkstyle-result.xml
invoker test-classes
bookkeeper-server-4.7.0-SNAPSHOT-shaded-tests.jar
checkstyle-suppressions.xml javadoc-bundle-options
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services