Skip to content

Create release

Create release #6

Workflow file for this run

permissions:
contents: write
name: Create release
on:
workflow_dispatch:
jobs:
release:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- name: Changelog action
id: changelog
uses: TriPSs/conventional-changelog-action@v4
with:
github-token: ${{ secrets.github_token }}
output-file: "false"
preset: conventionalcommits
version-file: pyproject.toml
version-path: tool.pysaleryd.version
skip-ci: false
- name: Create Release
uses: ncipollo/release-action@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
with:
token: ${{ secrets.github_token }}
commit: ${{ github.sha }}
tag: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
name: ${{ steps.changelog.outputs.tag }}