Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,22 @@ jobs:
path: .artifacts/desktop-cli
merge-multiple: true

- name: Install Minisign
- name: Install pinned Minisign
env:
MINISIGN_VERSION: "0.12"
MINISIGN_LINUX_SHA256: 9a599b48ba6eb7b1e80f12f36b94ceca7c00b7a5173c95c3efc88d9822957e73
run: |
sudo apt-get update
sudo apt-get install -y minisign
ARCHIVE="$RUNNER_TEMP/minisign-linux.tar.gz"
BIN_DIR="$RUNNER_TEMP/minisign-bin"
curl --fail --location --retry 3 --silent --show-error \
"https://github.com/jedisct1/minisign/releases/download/${MINISIGN_VERSION}/minisign-${MINISIGN_VERSION}-linux.tar.gz" \
--output "$ARCHIVE"
printf '%s %s\n' "$MINISIGN_LINUX_SHA256" "$ARCHIVE" | sha256sum --check --strict -
mkdir -p "$BIN_DIR"
tar -xzf "$ARCHIVE" -C "$BIN_DIR" --strip-components=2 minisign-linux/x86_64/minisign
chmod 0755 "$BIN_DIR/minisign"
echo "$BIN_DIR" >> "$GITHUB_PATH"
"$BIN_DIR/minisign" -v

- name: Require protected signing configuration
run: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@verboo/code",
"version": "0.15.9",
"version": "0.15.10",
"description": "Verboo Code — coding agent for the Verboo platform",
"type": "module",
"bin": {
Expand Down
5 changes: 5 additions & 0 deletions scripts/desktop-release/contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ describe('desktop CLI release contract', () => {
expect(releaseWorkflow).toContain("github.repository == 'verbeux-ai/code'")
expect(releaseWorkflow).toContain('VERBOO_DESKTOP_MINISIGN_SECRET_KEY_B64')
expect(releaseWorkflow).toContain('VERBOO_DESKTOP_MINISIGN_PUBLIC_KEY')
expect(releaseWorkflow).toContain('MINISIGN_VERSION: "0.12"')
expect(releaseWorkflow).toContain(
'9a599b48ba6eb7b1e80f12f36b94ceca7c00b7a5173c95c3efc88d9822957e73',
)
expect(releaseWorkflow).not.toContain('apt-get install -y minisign')
expect(releaseWorkflow).toContain('gh release upload')
expect(releaseWorkflow).not.toContain('--clobber')
expect(pullRequestWorkflow).not.toContain('gh release upload')
Expand Down
Loading