Skip to content

Merge pull request #230 from Azulinho/next_release #39

Merge pull request #230 from Azulinho/next_release

Merge pull request #230 from Azulinho/next_release #39

name: Tag new release
on:
push:
branches: master
jobs:
tag_and_release:
name: Create and push new tag and release
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v5.6
with:
github_token: ${{ secrets.PAT_REPO }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}