Skip to content

Commit 2fed76f

Browse files
Fix process release (#193)
1 parent ce12ea1 commit 2fed76f

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/ci.yml

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

118118
- name: Publish
119119
run: mvn -T 1.5C -B deploy -DaltDeploymentRepository=set-github::https://maven.pkg.github.com/${{ github.repository }}
120-
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/')
120+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
121121
env:
122122
GITHUB_TOKEN: ${{ github.token }}
123123

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

Lines changed: 6 additions & 1 deletion
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 }}
23-
target: "java/org.eclipse.set.browser.releng.target/org.eclipse.set.browser.releng.target.target"
27+
target: "java/org.eclipse.set.browser.releng.target/org.eclipse.set.browser.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)