Skip to content

Commit 32f7c2d

Browse files
authored
CP-22211: add minimal release job (#4)
1 parent 55ac177 commit 32f7c2d

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency:
9+
group: ${{ github.ref }}-release
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: version
17+
id: version
18+
uses: flatherskevin/semver-action@v1
19+
with:
20+
incrementLevel: patch
21+
source: tags
22+
- name: Release
23+
uses: softprops/action-gh-release@v2
24+
with:
25+
name: ${{ steps.version.outputs.nextVersion }}
26+
tag_name: ${{ steps.version.outputs.nextVersion }}

0 commit comments

Comments
 (0)