Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

ci: skip checksum signing in snapshot builds

Claudef5245a868d0a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 22eb0be3..b040c78e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -734,7 +734,7 @@ jobs:
yq '(.builds[].goos) = ["linux"] | (.builds[].goarch) = ["amd64"] | del(.builds[].ignore)' \
.goreleaser.yaml > "$RUNNER_TEMP/goreleaser-linux-amd64.yaml"
goreleaser release --config "$RUNNER_TEMP/goreleaser-linux-amd64.yaml" \
- --snapshot --clean --skip=publish,homebrew,announce --parallelism 1
+ --snapshot --clean --skip=publish,homebrew,announce,sign --parallelism 1
# Every generated Vector pack has to load in the Vector the packages ship. Vector 0.57 and 0.58
# changed how ${VAR} expands and broke most of them with no Beacon change at all. Uses the CLI
# goreleaser just built, which carries the real embedded hooks binary.
diff --git a/.github/workflows/release-check.yml b/.github/workflows/release-check.yml
index 8f045b0a..92bf805e 100644
--- a/.github/workflows/release-check.yml
+++ b/.github/workflows/release-check.yml
@@ -84,7 +84,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
HOMEBREW_TAP_TOKEN: snapshot
- run: goreleaser release --snapshot --clean --parallelism 1
+ # --snapshot does not imply --skip=sign, and the checksums `signs` entry needs the release
+ # key this job does not have, so gpg would fail on an empty keyring.
+ run: goreleaser release --snapshot --clean --skip=sign --parallelism 1
- name: Assert release archives
working-directory: cli/beacon
diff --git a/packaging/linux/smoke-package.sh b/packaging/linux/smoke-package.sh
index 87470e4a..312fab0f 100755
--- a/packaging/linux/smoke-package.sh
+++ b/packaging/linux/smoke-package.sh
@@ -8,7 +8,7 @@
# users experience.
#
# Needs systemd as PID 1, which only a privileged container provides. Build the packages first:
-# cd cli/beacon && goreleaser release --snapshot --clean --skip=publish,homebrew,announce
+# cd cli/beacon && goreleaser release --snapshot --clean --skip=publish,homebrew,announce,sign
set -eu
ROOT_DIR="$(CDPATH='' cd -- "$(dirname -- "$0")/../.." && pwd)"
@@ -30,7 +30,7 @@ if [ -z "$PKG" ]; then
fi
if [ -z "$PKG" ] || [ ! -f "$PKG" ]; then
echo "no $FORMAT package for linux_$ARCH in cli/beacon/dist" >&2
- echo "build one with: cd cli/beacon && goreleaser release --snapshot --clean --skip=publish,homebrew,announce" >&2
+ echo "build one with: cd cli/beacon && goreleaser release --snapshot --clean --skip=publish,homebrew,announce,sign" >&2
exit 1
fi
echo "package: $(basename "$PKG")"