-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 794 Bytes
/
release.yml
File metadata and controls
29 lines (27 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Release new version
on:
workflow_dispatch:
jobs:
release-new-version:
runs-on: ubuntu-latest
name: "Release new version with change log"
permissions:
contents: write
steps:
- name: Check out
uses: actions/checkout@v6
with:
fetch-depth: 0
- id: cz
name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
changelog_increment_filename: body.md
- name: Print Version
run: echo "Bumped to version v${{ env.REVISION }}"
- name: Create release note from changelog
uses: softprops/action-gh-release@v2
with:
body_path: body.md
tag_name: v${{ env.REVISION }}