Skip to content

The agent that grows with you

ci(release): also build the desktop package from the stamped source

ethernet5631d6680fd9
diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml
index 90828b7dedf..1fa193b9f1f 100644
--- a/.github/workflows/nix.yml
+++ b/.github/workflows/nix.yml
@@ -159,7 +159,11 @@ jobs:
env:
RELEASE_VERSION: ${{ inputs.version }}
run: |
- package="$(nix build "path:$RUNNER_TEMP/release-source#default" --no-link --print-out-paths)"
+ source="path:$RUNNER_TEMP/release-source"
+ package="$(nix build "$source#default" --no-link --print-out-paths)"
+ # desktop wraps the default package, so this also proves the
+ # stamped release source builds the Electron app against it.
+ nix build "$source#desktop" --no-link
actual="$("$package/bin/hermes" --version)"
ACTUAL_VERSION="$actual" python3 - <<'PY'
import os