Browse Source

chore: update GoReleaser configuration and auto-tag workflow

- Commented out GPG signing configuration in .goreleaser.yml for clarity.
- Modified the default value for the skip_signing input in auto-tag-release.yml to true, allowing for easier skipping of GPG signing during releases.
pull/122/head v0.0.22
煎饼果子卷鲨鱼辣椒 5 months ago
parent
commit
c1d5ba84b3
  1. 6
      .github/workflows/auto-tag-release.yml
  2. 22
      .goreleaser.yml

6
.github/workflows/auto-tag-release.yml

@ -15,14 +15,10 @@ on:
- ".gitignore" - ".gitignore"
workflow_call: workflow_call:
inputs: inputs:
gpg_private_key:
required: false
type: string
description: "GPG private key for signing releases"
skip_signing: skip_signing:
required: false required: false
type: boolean type: boolean
default: false
default: true
description: "Skip GPG signing of releases" description: "Skip GPG signing of releases"
permissions: permissions:

22
.goreleaser.yml

@ -42,17 +42,17 @@ checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
algorithm: sha256 algorithm: sha256
signs:
- cmd: gpg
args:
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
artifacts: all
# signs:
# - cmd: gpg
# args:
# - "--batch"
# - "--local-user"
# - "{{ .Env.GPG_FINGERPRINT }}"
# - "--output"
# - "${signature}"
# - "--detach-sign"
# - "${artifact}"
# artifacts: all
changelog: changelog:
sort: asc sort: asc

Loading…
Cancel
Save