From 25bb3e1d2b7f4cacd81bd59ff313b7d2b4d7165d Mon Sep 17 00:00:00 2001 From: oxpoe <324556608+oxpoe@users.noreply.github.com> Date: Thu, 15 Oct 2026 07:31:37 +0700 Subject: [PATCH] fix(release): kunci checksum + workflow rilis on-tag; snapshot 4 platform lolos (T-0.7) --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++++ .goreleaser.yml | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..88d9fc1 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +name: Release + +on: + push: + tags: ["v*"] + +permissions: + contents: write + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + cache: true + + - uses: goreleaser/goreleaser-action@v6 + with: + version: latest + args: release --clean + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index ea65b3d..466d778 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -31,5 +31,5 @@ archives: - README.md - THIRD_PARTY_NOTICES.md -checksums: +checksum: name_template: checksums.txt