Skip to content

Commit 2126db1

Browse files
author
Bastian Schwarz
committed
Add a workflow to prepare release on pushes to release branch
1 parent 842760b commit 2126db1

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Prepare Release
2+
on:
3+
push:
4+
branches: [ release ]
5+
paths-ignore:
6+
- '**.md'
7+
8+
jobs:
9+
calculate_next_version:
10+
uses: codenamephp/workflows.common/.github/workflows/calculate-next-version.yml@main
11+
draft_release:
12+
needs: calculate_next_version
13+
uses: codenamephp/workflows.common/.github/workflows/draft-release.yml@main
14+
with:
15+
version: ${{ needs.calculate_next_version.outputs.version }}
16+
update_changelog:
17+
uses: codenamephp/workflows.common/.github/workflows/update-changelog.yml@main
18+
needs: calculate_next_version
19+
with:
20+
ref: ${{github.ref_name}}
21+
future-release: ${{ needs.calculate_next_version.outputs.version }}
22+
release-branch: 'release'

0 commit comments

Comments
 (0)