Skip to content

Commit c40afda

Browse files
author
Joe Doss
committed
Add GPG_PRIVATE_KEY_FILE=/dev/null and --skip=sign to release-dry-run.
1 parent 25c6561 commit c40afda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,14 @@ release-dev:
126126
release-dry-run:
127127
$Q @docker run --rm --privileged -e CGO_ENABLED=1 \
128128
-e GORELEASER_KEY=${GORELEASER_KEY} \
129+
-e GPG_PRIVATE_KEY_FILE=/dev/null \
129130
-e IS_PRERELEASE=true \
130131
--entrypoint /go/src/$(PKG)/docker/build/entrypoint.sh \
131132
-v /var/run/docker.sock:/var/run/docker.sock \
132133
-v `pwd`:/go/src/$(PKG) \
133134
-w /go/src/$(PKG) \
134135
ghcr.io/goreleaser/goreleaser-cross-pro:${GOLANG_CROSS_VERSION} \
135-
--clean --skip=validate --skip=publish --split
136+
--clean --skip=validate --skip=sign --skip=publish --split
136137

137138
release:
138139
@if [ ! -f ".release-env" ]; then \

0 commit comments

Comments
 (0)