Skip to content

ci(template-workflow): 💚 fix wrong working directory in t… #3

ci(template-workflow): 💚 fix wrong working directory in t…

ci(template-workflow): 💚 fix wrong working directory in t… #3

Workflow file for this run

name: release
on: push
jobs:
release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch all tags
run: git fetch --depth=1 --tags
- name: Setup Python
uses: actions/setup-python@v4
- name: Install git-changelog
run: pip install git-changelog
- name: Prepare release notes
run: git-changelog --release-notes > release-notes.md
- name: Create release
uses: softprops/action-gh-release@v1
with:
body_path: release-notes.md