Skip to content

Commit b831d56

Browse files
committed
singing
1 parent e5a5952 commit b831d56

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
with:
2020
go-version: "1.22"
2121

22+
- name: import gpg key
23+
run: |
24+
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --import
25+
env:
26+
GPG_TTY: $(tty)
27+
2228
- name: run goreleaser
2329
uses: goreleaser/goreleaser-action@v5
2430
with:
@@ -28,3 +34,4 @@ jobs:
2834
args: release --clean
2935
env:
3036
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
37+
GPG_KEY_ID: "71FEEDB877EC18B5"

.goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ before:
1818
project_name: megarac
1919
dist: .bin
2020

21-
# signs:
22-
# - artifacts: checksum
21+
signs:
22+
- artifacts: checksum
2323

2424
builds:
2525
- binary: "megarac"

0 commit comments

Comments
 (0)