Files
spring-cloud-connectors/ci/scripts/sync-to-maven-central.sh
2021-10-25 15:03:28 -05:00

12 lines
357 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
readonly BUILD_INFO_LOCATION="$(pwd)/artifactory-repo/build-info.json"
readonly CONFIG_DIR="$(pwd)/git-repo/ci/config"
java -jar /opt/concourse-release-scripts*.jar \
--spring.config.location="${CONFIG_DIR}/release-scripts.yml" \
publishToCentral 'RELEASE' "$BUILD_INFO_LOCATION" "artifactory-repo"
echo "Sync complete"