...

Text file src/github.com/go-kivik/kivik/v4/.github/workflows/release.yaml

Documentation: github.com/go-kivik/kivik/v4/.github/workflows

     1name: create-release
     2
     3on:
     4  push:
     5    branches:
     6      - master
     7
     8jobs:
     9  create-release:
    10    runs-on: ubuntu-latest
    11    permissions: write-all
    12    steps:
    13      - uses: actions/checkout@v3
    14        with:
    15          fetch-depth: 1
    16
    17      - name: Set up Go
    18        uses: actions/setup-go@v3
    19        with:
    20          go-version: "1.21.1"
    21
    22      - name: Determine tag name
    23        run: |
    24            go run ./script/version.go >> $GITHUB_ENV
    25
    26      - name: Create Release
    27        if: ${{ env.TAG != '' }}
    28        uses: ncipollo/release-action@v1.13.0
    29        with:
    30          tag: ${{ env.TAG }}
    31          commit: master
    32          skipIfReleaseExists: true
    33          prerelease: ${{ env.PRERELEASE }}
    34          generateReleaseNotes: true

View as plain text