Skip to content

Commit

Permalink
deploy: Verify that jazzer.jar is a valid Jazzer jar
Browse files Browse the repository at this point in the history
Release v0.20.0 failed because the zip containing the Jazzer jar was
passed in instead of the Jazzer jar itself.
  • Loading branch information
fmeum committed Aug 31, 2023
1 parent 877a404 commit 14f02e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ JAZZER_COORDINATES=$1
[ ! -f "${JAZZER_JAR_PATH}" ] && \
fail "JAZZER_JAR_PATH does not exist at '$JAZZER_JAR_PATH'"

"${JAZZER_JAR_PATH}" --version 2>&1 | grep '^Jazzer v' || \
fail "JAZZER_JAR_PATH is not a valid jazzer.jar"

MAVEN_REPO=https://oss.sonatype.org/service/local/staging/deploy/maven2

# The Jazzer jar itself bundles native libraries for multiple architectures and thus can't be built
Expand Down

0 comments on commit 14f02e5

Please sign in to comment.