Skip to content

Merge pull request #72 from cybozu-go/bump-1.6.8 #15

Merge pull request #72 from cybozu-go/bump-1.6.8

Merge pull request #72 from cybozu-go/bump-1.6.8 #15

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
jobs:
release:
name: Release on GitHub
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
version=$(echo ${{ github.ref }} | sed -e "s#refs/tags/##g")
if echo $version | grep -q -e '-'; then prerelease=-p; fi
gh release create $version $prerelease \
-t "Release $version" \
-n "See [CHANGELOG.md](./CHANGELOG.md) for details."