Skip to content

fix(deps): update module github.com/urfave/cli/v3 to v3.10.1 #197

fix(deps): update module github.com/urfave/cli/v3 to v3.10.1

fix(deps): update module github.com/urfave/cli/v3 to v3.10.1 #197

Workflow file for this run

name: release
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
packages: write
issues: write
id-token: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
with:
go-version: "1.24"
- name: Create tag
if: github.event_name != 'pull_request'
run: |
go install github.com/caarlos0/svu/v3@latest
TAG=$(svu next)
if git rev-parse "refs/tags/$TAG" >/dev/null 2>&1; then
echo "Tag $TAG already exists. Exiting."
exit 0
fi
git tag "$TAG"
git push --tags
- name: Validate
if: github.event_name == 'pull_request'
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6
with:
distribution: goreleaser
version: "~> v2"
args: release --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
if: github.event_name != 'pull_request'
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6
with:
distribution: goreleaser
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}