Skip to content

Commit 85ac8a0

Browse files
authored
Merge pull request #252 from OpenVoxProject/update_release_automation
Update release automation
2 parents 557557b + 278c706 commit 85ac8a0

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.github/workflows/prepare_release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: 'Version to be released.'
8-
required: false
9-
default: ''
7+
description: 'Version to be released (e.g., 8.24.0)'
8+
required: true
109
type: string
1110
base-branch:
1211
description: 'The branch that will be used as the origin for the release branch.'
@@ -20,9 +19,8 @@ jobs:
2019
prepare_release:
2120
uses: OpenVoxProject/shared-actions/.github/workflows/prepare_release.yml@main
2221
with:
23-
allowed_owner: 'OpenVoxProject'
24-
base-branch: ${{ github.event.inputs.base-branch }}
25-
version: ${{ github.event.inputs.version }}
22+
version: ${{ inputs.version }}
23+
base-branch: ${{ inputs.base-branch }}
2624
secrets:
2725
github_pat: ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
2826
ssh_private_key: ${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }}

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: 'Version to be released.'
8-
required: false
9-
default: ''
7+
description: 'Version to be released'
8+
required: true
109
type: string
1110
base-branch:
1211
description: 'The branch where we do this release.'
@@ -20,9 +19,9 @@ jobs:
2019
release:
2120
uses: OpenVoxProject/shared-actions/.github/workflows/release.yml@main
2221
with:
23-
allowed_owner: 'OpenVoxProject'
24-
base-branch: ${{ github.event.inputs.base-branch }}
25-
version: ${{ github.event.inputs.version }}
22+
version: ${{ inputs.version }}
23+
base-branch: ${{ inputs.base-branch }}
24+
bump_to_rc_after_release: true
2625
secrets:
2726
github_pat: ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
2827
ssh_private_key: ${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }}

0 commit comments

Comments
 (0)