diff --git a/.github/workflows/prepareRelease.yml b/.github/workflows/prepareRelease.yml index f67fabda7d3..b7ae2a08f0e 100644 --- a/.github/workflows/prepareRelease.yml +++ b/.github/workflows/prepareRelease.yml @@ -31,10 +31,17 @@ jobs: java-version: '17' distribution: 'temurin' cache: maven + - name: Store Current Version + id: get-current-release + run: | + mvn help:evaluate -Dexpression=releaseNumberSDK --quiet '-Doutput=releaseNumberSDK-value.txt' + streamVersion=$(> $GITHUB_OUTPUT - name: Update Main Versions run: mvn -U -ntp -f eclipse-platform-parent org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=${{ github.event.milestone.title }}.0-SNAPSHOT -Dmodules=../eclipse.platform.releng.prereqs.sdk - name: Update Release Versions - run: mvn -ntp -f eclipse-platform-parent/pom.xml --non-recursive org.eclipse.tycho:tycho-versions-plugin:set-property -Dproperties=releaseVersion,releaseName -DnewReleaseName=${{ steps.get-release-name.outputs.name }} -DnewreleaseVersion=${{ github.event.milestone.title }} + run: mvn -ntp -f eclipse-platform-parent/pom.xml --non-recursive org.eclipse.tycho:tycho-versions-plugin:set-property -Dproperties=releaseVersion,releaseName,previousReleaseVersion -DnewPreviousReleaseVersion=${{ steps.get-current-release.outputs.version }} -DnewReleaseName=${{ steps.get-release-name.outputs.name }} -DnewreleaseVersion=${{ github.event.milestone.title }} - name: Create Pull Request for Release ${{ github.event.milestone.title }} uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 with: diff --git a/eclipse-platform-parent/pom.xml b/eclipse-platform-parent/pom.xml index 17cd40b3fb8..6e849c0412f 100644 --- a/eclipse-platform-parent/pom.xml +++ b/eclipse-platform-parent/pom.xml @@ -51,6 +51,7 @@ --> 2025-03 4.35 + 4.34