Skip to content

Bump version to v1.1.1 #5

Bump version to v1.1.1

Bump version to v1.1.1 #5

Workflow file for this run

name: goreleaser
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
checks: read # For private repositories
actions: read # For private repositories
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache-dependency-path: 'go.sum'
- name: Wait other jobs
uses: kachick/wait-other-jobs@v3
with:
skip-same-workflow: 'true'
skip-list: |
[
{
"workflowFile": "merge-bot-pr.yml"
}
]
if: startsWith(github.ref, 'refs/tags/')
timeout-minutes: 30
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
distribution: goreleaser
version: 'v1.25.1' # selfup { "extract": "\\d[^']+", "replacer": ["bash", "-c", "goreleaser --version | grep 'GitVersion:'"], "nth": 2 }
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}