Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cz.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
commitizen:
name: cz_conventional_commits
tag_format: $version
version: 0.0.0
42 changes: 42 additions & 0 deletions workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release

on: workflow_dispatch

jobs:
version:
runs-on: ubuntu-latest
name: "Version"
outputs:
version: ${{ steps.cz.outputs.version }}

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- id: cz
name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Print Version
run: echo "Bumped to version ${{ steps.cz.outputs.version }}"

release:
name: Release
needs: version
runs-on: ubuntu-latest

steps:
- name: Create Release
uses: softprops/action-gh-release@v1
with:
draft: false
prerelease: false
generate_release_notes: true
tag_name: ${{ needs.version.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}