From 1ec0396636bb9848df16a99483d11a8b48c29423 Mon Sep 17 00:00:00 2001 From: Quang Truong Date: Wed, 22 Oct 2025 11:31:43 +0200 Subject: [PATCH] Fix release process --- .github/workflows/ci.yml | 2 +- .github/workflows/create-release-branch.yml | 5 +++++ .github/workflows/create-release-tag.yml | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6fb50b20e8..26106df69f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -219,7 +219,7 @@ jobs: - name: Publish run: mvn -T 1.5C -U -B deploy --settings .github/settings.xml -DaltDeploymentRepository=set-github::https://maven.pkg.github.com/${{ github.repository }} - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/') + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/create-release-branch.yml b/.github/workflows/create-release-branch.yml index 139615bcc2..fcaf232b71 100644 --- a/.github/workflows/create-release-branch.yml +++ b/.github/workflows/create-release-branch.yml @@ -7,6 +7,9 @@ on: version: description: 'Release version. Format: .' required: true + next-version: + description: 'Next release version. Format .. Default is next minor version' + required: false citag: description: 'Optional tag to identify runs via the API. Displayed in run name.' required: false @@ -16,8 +19,10 @@ on: jobs: release-branch: uses: eclipse-set/build/.github/workflows/release-branch.yml@main + secrets: inherit permissions: contents: write with: version: ${{ inputs.version }} target: "java/bundles/org.eclipse.set.releng.target/org.eclipse.set.releng.target.target" + development-version: ${{ inputs.next-version }} diff --git a/.github/workflows/create-release-tag.yml b/.github/workflows/create-release-tag.yml index 5bd629414d..7a025b2fbb 100644 --- a/.github/workflows/create-release-tag.yml +++ b/.github/workflows/create-release-tag.yml @@ -16,6 +16,7 @@ on: jobs: release-tag: uses: eclipse-set/build/.github/workflows/release-tag.yml@main + secrets: inherit permissions: contents: write with: