Skip to content

Merge pull request #1050 from go-kivik/go1.23 #267

Merge pull request #1050 from go-kivik/go1.23

Merge pull request #1050 from go-kivik/go1.23 #267

Workflow file for this run

name: create-release
on:
push:
branches:
- master
jobs:
create-release:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.21.1"
- name: Determine tag name
run: |
go run ./script/version.go >> $GITHUB_ENV
- name: Create Release
if: ${{ env.TAG != '' }}
uses: ncipollo/release-action@v1.13.0
with:
tag: ${{ env.TAG }}
commit: master
skipIfReleaseExists: true
prerelease: ${{ env.PRERELEASE }}
generateReleaseNotes: true