Skip to content

Commit b214ae1

Browse files
committed
ci: do not sign the release and build only linux
1 parent 9af5caf commit b214ae1

File tree

2 files changed

+43
-43
lines changed

2 files changed

+43
-43
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
- name: Describe plugin
4949
id: plugin_describe
5050
run: echo "api_version=$(go run . describe | jq -r '.api_version')" >> "$GITHUB_OUTPUT"
51-
- name: Install signore
52-
uses: hashicorp/setup-signore-package@v1
51+
# - name: Install signore
52+
# uses: hashicorp/setup-signore-package@v1
5353
- name: Run GoReleaser
5454
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
5555
with:
@@ -58,6 +58,6 @@ jobs:
5858
env:
5959
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6060
API_VERSION: ${{ steps.plugin_describe.outputs.api_version }}
61-
SIGNORE_CLIENT_ID: ${{ secrets.SIGNORE_CLIENT_ID }}
62-
SIGNORE_CLIENT_SECRET: ${{ secrets.SIGNORE_CLIENT_SECRET }}
63-
SIGNORE_SIGNER: ${{ secrets.SIGNORE_SIGNER }}
61+
#SIGNORE_CLIENT_ID: ${{ secrets.SIGNORE_CLIENT_ID }}
62+
#SIGNORE_CLIENT_SECRET: ${{ secrets.SIGNORE_CLIENT_SECRET }}
63+
#SIGNORE_SIGNER: ${{ secrets.SIGNORE_SIGNER }}

.goreleaser.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -46,39 +46,39 @@ builds:
4646
- goos: linux
4747
goarch: amd64
4848
binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
49-
-
50-
id: darwin-builds
51-
mod_timestamp: '{{ .CommitTimestamp }}'
52-
flags:
53-
- -trimpath #removes all file system paths from the compiled executable
54-
ldflags:
55-
- '-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
56-
goos:
57-
- darwin
58-
goarch:
59-
- amd64
60-
- arm64
61-
binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
62-
-
63-
id: other-builds
64-
mod_timestamp: '{{ .CommitTimestamp }}'
65-
flags:
66-
- -trimpath #removes all file system paths from the compiled executable
67-
ldflags:
68-
- '-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
69-
goos:
70-
- netbsd
71-
- openbsd
72-
- freebsd
73-
- windows
74-
goarch:
75-
- amd64
76-
- '386'
77-
- arm
78-
ignore:
79-
- goos: windows
80-
goarch: arm
81-
binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
49+
# -
50+
# id: darwin-builds
51+
# mod_timestamp: '{{ .CommitTimestamp }}'
52+
# flags:
53+
# - -trimpath #removes all file system paths from the compiled executable
54+
# ldflags:
55+
# - '-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
56+
# goos:
57+
# - darwin
58+
# goarch:
59+
# - amd64
60+
# - arm64
61+
# binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
62+
# -
63+
# id: other-builds
64+
# mod_timestamp: '{{ .CommitTimestamp }}'
65+
# flags:
66+
# - -trimpath #removes all file system paths from the compiled executable
67+
# ldflags:
68+
# - '-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
69+
# goos:
70+
# - netbsd
71+
# - openbsd
72+
# - freebsd
73+
# - windows
74+
# goarch:
75+
# - amd64
76+
# - '386'
77+
# - arm
78+
# ignore:
79+
# - goos: windows
80+
# goarch: arm
81+
# binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
8282
archives:
8383
- format: zip
8484
files:
@@ -88,11 +88,11 @@ archives:
8888
checksum:
8989
name_template: '{{ .ProjectName }}_v{{ .Version }}_SHA256SUMS'
9090
algorithm: sha256
91-
signs:
92-
- cmd: signore
93-
args: ["sign", "--dearmor", "--file", "${artifact}", "--out", "${signature}"]
94-
artifacts: checksum
95-
signature: ${artifact}.sig
91+
# signs:
92+
# - cmd: signore
93+
# args: ["sign", "--dearmor", "--file", "${artifact}", "--out", "${signature}"]
94+
# artifacts: checksum
95+
# signature: ${artifact}.sig
9696

9797
changelog:
9898
use: github-native

0 commit comments

Comments
 (0)