Adapt to CI

* now using springio/concourse-release-scripts
This commit is contained in:
Anthony Dahanne
2023-08-15 15:57:17 -04:00
parent 8c0fe7682b
commit a77d20e105
5 changed files with 7 additions and 4 deletions

View File

@@ -1,8 +1,6 @@
ARG base_image=ubuntu:bionic
FROM ${base_image}
ADD https://repo.spring.io/libs-release/io/spring/concourse/releasescripts/concourse-release-scripts/0.3.2/concourse-release-scripts-0.3.2.jar /opt/concourse-release-scripts.jar
RUN apt-get update && apt-get install --no-install-recommends -y \
git gnupg \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -34,6 +34,9 @@ cd source
VERSION=$(./mvnw --quiet help:evaluate -DforceStdout -Dexpression=project.version)
git add pom.xml
git add spring-cloud-bindings/pom.xml
git add spring-cloud-bindings-tests/pom.xml
git checkout -- .
git \

View File

@@ -30,5 +30,4 @@ EOF
REPOSITORY="${PWD}"/repository
cd source
./mvnw deploy -Dmaven.test.skip=true -DaltDeploymentRepository="local::default::file://${REPOSITORY}"

View File

@@ -4,6 +4,6 @@ set -euo pipefail
export BUILD_INFO_LOCATION=$(pwd)/repository/build-info.json
java -jar /opt/concourse-release-scripts.jar publishToCentral 'RELEASE' "$BUILD_INFO_LOCATION" repository
java -jar /concourse-release-scripts.jar publishToCentral 'RELEASE' "$BUILD_INFO_LOCATION" repository
echo "Sync complete"

View File

@@ -10,6 +10,9 @@ cd source
VERSION=$(./mvnw --quiet help:evaluate -DforceStdout -Dexpression=project.version)
git add pom.xml
git add spring-cloud-bindings/pom.xml
git add spring-cloud-bindings-tests/pom.xml
git checkout -- .
git \