From 7ad24132713b311e1304c2835bb16723b67389de Mon Sep 17 00:00:00 2001 From: Corneil du Plessis Date: Fri, 13 Sep 2024 14:49:20 +0200 Subject: [PATCH] [CI] Fix create package [skip ci] --- .github/workflows/github-release.yml | 7 +++---- src/deploy/versions.yaml | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 13d44dcff4..efd606e2e3 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -43,10 +43,9 @@ jobs: --notes-file "${{runner.temp}}/release_notes.md" # retrieve spring-cloud-dataflow-package and upload to github release export PACKAGE_VERSION=${BUILD_ZOO_HANDLER_spring_cloud_dataflow_version} - pushd spring-cloud-dataflow-package - ./set-package-version.sh - ../mvnw package - popd + ./mvnw -s .settings.xml build-helper:parse-version versions:set -DskipResolution=true -DprocessAllModules=true -DgenerateBackupPoms=false -Dartifactory.publish.artifacts=false -DnewVersion=$PACKAGE_VERSION + ./spring-cloud-dataflow-package/set-package-version.sh + ./mvnw -s .settings.xml package -pl spring-cloud-dataflow-package PACKAGE_FILE="./spring-cloud-dataflow-package/target/spring-cloud-dataflow-oss-install-${PACKAGE_VERSION}.zip" gh release upload v$PACKAGE_VERSION $PACKAGE_FILE --clobber # zoo success diff --git a/src/deploy/versions.yaml b/src/deploy/versions.yaml index c10063f89e..4f760523ae 100644 --- a/src/deploy/versions.yaml +++ b/src/deploy/versions.yaml @@ -1,14 +1,14 @@ scdf-type: oss: - release: '2.11.4' + release: '2.11.5' snapshot: '2.11.5-SNAPSHOT' milestone: '2.11.0-RC1' maintenance-snapshot: '2.10.4-SNAPSHOT' pro: - release: '1.6.3' + release: '1.6.4' snapshot: '1.6.4-SNAPSHOT' maintenance-snapshot: '1.5.4-SNAPSHOT' default: scdf-type: 'oss' - version: 'snapshot' - package-version: '2.11.5-SNAPSHOT' + version: 'release' + package-version: '2.11.5'