Merge pull request #1121 from go-kivik/optionsMap #24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: tag-release | |
| on: | |
| push: | |
| branches: [main] | |
| 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.24.5" | |
| - name: Determine tag name | |
| run: | | |
| go run ./script/version.go >> $GITHUB_ENV | |
| - name: Create Release | |
| if: ${{ env.TAG != '' }} | |
| uses: ncipollo/[email protected] | |
| with: | |
| tag: ${{ env.TAG }} | |
| commit: main | |
| skipIfReleaseExists: true | |
| prerelease: ${{ env.PRERELEASE }} | |
| generateReleaseNotes: true |