Skip to content

Commit 59e0e72

Browse files
Fix release process (#1935)
1 parent 1b37049 commit 59e0e72

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219

220220
- name: Publish
221221
run: mvn -T 1.5C -U -B deploy --settings .github/settings.xml -DaltDeploymentRepository=set-github::https://maven.pkg.github.com/${{ github.repository }}
222-
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/')
222+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
223223
env:
224224
GITHUB_TOKEN: ${{ github.token }}
225225

.github/workflows/create-release-branch.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
version:
88
description: 'Release version. Format: <major>.<minor>'
99
required: true
10+
next-version:
11+
description: 'Next release version. Format <major>.<minor>. Default is next minor version'
12+
required: false
1013
citag:
1114
description: 'Optional tag to identify runs via the API. Displayed in run name.'
1215
required: false
@@ -16,8 +19,10 @@ on:
1619
jobs:
1720
release-branch:
1821
uses: eclipse-set/build/.github/workflows/release-branch.yml@main
22+
secrets: inherit
1923
permissions:
2024
contents: write
2125
with:
2226
version: ${{ inputs.version }}
2327
target: "java/bundles/org.eclipse.set.releng.target/org.eclipse.set.releng.target.target"
28+
development-version: ${{ inputs.next-version }}

.github/workflows/create-release-tag.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
jobs:
1717
release-tag:
1818
uses: eclipse-set/build/.github/workflows/release-tag.yml@main
19+
secrets: inherit
1920
permissions:
2021
contents: write
2122
with:

0 commit comments

Comments
 (0)