INNER CODE UNIT · Java
MVN_ARGS
apache/bifromq · release/release.sh:156
MVN_ARGS=(-Pbuild-release -DskipTests -Dgpg.useagent=true)
mvn "${MVN_ARGS[@]}" clean verify
cd "$TMPDIR/repo"
ARTIFACTS=(target/output/apache-bifromq-*.tar.gz target/output/apache-bifromq-*.zip)
ls "${ARTIFACTS[@]}" 2>/dev/null || { echo "No artifacts found under target/output"; exit 1; }
for f in target/output/*; do
if [[ -f "$f" ]]; then
cp "$f" "$WORKDIR"
fi
done
echo "Signing artifacts..."
bash "${SCRIPT_DIR}/sign-artifacts.sh" "$WORKDIR"
if [ "$UPLOAD" = true ]; then
UPLOAD_DIR="${REVISION}"
if [[ -n "$RC_NUMBER" ]]; then