Skip to content

chore(workflows): Bump goreleaser to 1.21 through kraftkit #9

chore(workflows): Bump goreleaser to 1.21 through kraftkit

chore(workflows): Bump goreleaser to 1.21 through kraftkit #9

Workflow file for this run

name: release
on:
push:
tags: ["v[0-9]+.[0-9]+.[0-9]+"]
permissions:
contents: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
container: kraftkit.sh/myself-full:latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Fetch all tags
run: |
git config --global --add safe.directory /__w/kraftkit/kraftkit
git fetch --force --tags
- name: Run GoReleaser
run: |
goreleaser release \
--config .goreleaser.yml \
--clean \
--rm-dist \
--skip-validate
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}