Skip to content

chore: Updating changelog for 1.0.22 #19

chore: Updating changelog for 1.0.22

chore: Updating changelog for 1.0.22 #19

Workflow file for this run

name: Create release notes
on:
push:
tags:
- '**'
permissions:
contents: write
jobs:
release-notes:
name: Create release notes from changelog
runs-on: ubuntu-latest
steps:
- name: Clean workspace
uses: Chia-Network/actions/clean-workspace@main
- name: Git checkout
uses: actions/checkout@v3
with:
# Need PACKAGE_ADMIN_PAT token so when the tag is created, the tag automation runs
token: ${{ secrets.PACKAGE_ADMIN_PAT }}
fetch-depth: 0
# Install Python for commitizen, the automatic changelog tool
- name: Setup Python
uses: Chia-Network/actions/setup-python@main
with:
python-version: '3'
- name: Install commitizen
run: |
pip install -U commitizen
- name: Create incremental changelog
run: |
cz changelog $GITHUB_REF_NAME --file-name=INCREMENTAL.md
- name: Create release with the Changelog as release notes
uses: softprops/[email protected]
with:
body_path: INCREMENTAL.md
token: ${{ secrets.PACKAGE_ADMIN_PAT }}