Skip to content

Commit d0681ca

Browse files
Fix release process (#52)
1 parent c76aaaf commit d0681ca

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Publish
2424
run: mvn -T 1.5C -B deploy -DaltDeploymentRepository=set-github::https://maven.pkg.github.com/${{ github.repository }}
2525
working-directory: java
26-
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/')
26+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
2727
env:
2828
GITHUB_TOKEN: ${{ github.token }}
2929

.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
@@ -15,9 +18,11 @@ on:
1518
jobs:
1619
release-branch:
1720
uses: eclipse-set/build/.github/workflows/release-branch.yml@main
21+
secrets: inherit
1822
permissions:
1923
contents: write
2024
with:
2125
version: ${{ inputs.version }}
2226
target: "java/org.eclipse.set.model.releng.target/org.eclipse.set.model.releng.target.target"
2327
pom: 'java/pom.xml'
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
@@ -15,6 +15,7 @@ on:
1515
jobs:
1616
release-tag:
1717
uses: eclipse-set/build/.github/workflows/release-tag.yml@main
18+
secrets: inherit
1819
permissions:
1920
contents: write
2021
with:

0 commit comments

Comments
 (0)