Skip to content

Cantaloupe 5.0.6

Cantaloupe 5.0.6 #51

Workflow file for this run

name: Create release
on:
pull_request_target:
branches:
- main
types:
- closed
permissions:
contents: write
actions: write
jobs:
release:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install autotag binary
run: curl -sL https://git.io/autotag-install | sudo sh -s -- -b /usr/bin
- name: create release
run: |-
TAG=$(autotag)
git tag $TAG
git push origin $TAG
gh release create $TAG
gh workflow run push.yml -f tag=$TAG --ref $TAG
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}