Skip to content

Commit 6e09353

Browse files
author
Bastian Schwarz
committed
Added new workflows to update semver tags automatically
1 parent e009cd3 commit 6e09353

2 files changed

Lines changed: 35 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@release
11+
draft_release:
12+
needs: calculate_next_version
13+
uses: codenamephp/workflows.common/.github/workflows/draft-release.yml@release
14+
with:
15+
version: ${{ needs.calculate_next_version.outputs.version }}
16+
update_changelog:
17+
uses: codenamephp/workflows.common/.github/workflows/update-changelog.yml@release
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'
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Update Release Versions
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
update_release_versions:
10+
uses: codenamephp/workflows.common/.github/workflows/updateReleaseVersions.yml@release
11+
with:
12+
version: ${{ github.event.release.tag_name }}
13+
release_ref: ${{ github.ref }}

0 commit comments

Comments
 (0)