Skip to content

chore: workflow endpoints (#13) #10

chore: workflow endpoints (#13)

chore: workflow endpoints (#13) #10

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
flags=""
[[ "$GITHUB_REF_NAME" == *-* ]] && flags="--prerelease"
gh release create "$GITHUB_REF_NAME" --generate-notes $flags