Rules-based browser launcher for TUI + GNOME. switchyard.aly.codes
tui gome bowser go
0

Configure Feed

Select the types of activity you want to include in your feed.

fix ci

authored by

Aly Raffauf and committed by
Aly Raffauf
(May 24, 2026, 6:44 PM EDT) 9ad0459f 3003c0c8

+15 -7
+5 -4
.github/workflows/ci.yml
··· 37 37 runs-on: ubuntu-latest 38 38 steps: 39 39 - uses: actions/checkout@v4 40 + - uses: actions/setup-node@v4 41 + with: 42 + node-version: "lts/*" 43 + - uses: extractions/setup-just@v2 40 44 - name: Bundle extension 41 - run: | 42 - mkdir -p /tmp/webextension 43 - cp -r webextension/* /tmp/webextension/ 44 - cd /tmp/webextension && zip -r "${{ github.workspace }}/switchyard-webextension.zip" . 45 + run: just bundle-extension 45 46 - uses: actions/upload-artifact@v4 46 47 with: 47 48 name: switchyard-webextension
+10 -3
justfile
··· 92 92 tag="v${version}" 93 93 metainfo="data/{{APPID}}.metainfo.xml" 94 94 manifest="webextension/manifest.json" 95 + pkgjson="webextension/package.json" 95 96 96 97 if ! [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$ ]]; then 97 98 echo "error: '$version' is not valid semver (expected X.Y.Z)" >&2 ··· 104 105 exit 1 105 106 fi 106 107 107 - # Allow src/app.go, metainfo, and extension manifest to be dirty; nothing else. 108 - dirty="$(git status --porcelain -- ':!src/app.go' ":!${metainfo}" ":!${manifest}")" 108 + # Allow src/app.go, metainfo, extension manifest, and package.json to be dirty; nothing else. 109 + dirty="$(git status --porcelain -- ':!src/app.go' ":!${metainfo}" ":!${manifest}" ":!${pkgjson}")" 109 110 if [ -n "$dirty" ]; then 110 111 echo "error: working tree has changes outside src/app.go, ${metainfo}, ${manifest}:" >&2 111 112 echo "$dirty" >&2 ··· 135 136 exit 1 136 137 fi 137 138 138 - git add src/app.go "${metainfo}" "${manifest}" 139 + sed -i -E 's/^(\s*"version"\s*:\s*)"[^"]+"/\1"'"${version}"'"/' "${pkgjson}" 140 + if ! grep -qE '"version"\s*:\s*"'"${version}"'"' "${pkgjson}"; then 141 + echo "error: failed to update version in ${pkgjson}" >&2 142 + exit 1 143 + fi 144 + 145 + git add src/app.go "${metainfo}" "${manifest}" "${pkgjson}" 139 146 git commit -m "update for ${tag}" 140 147 git tag -a "${tag}" -m "${tag}" 141 148 git push origin master