desktop: point the install command at a branch that exists
Desktop (Tauri) / Tauri desktop (Linux) (push) Successful in 3m27s
Desktop (Tauri) / Tauri desktop (Linux) (push) Successful in 3m27s
The advertised curl URL referenced raw/branch/main, but main has never been created (creating it is rejected by a branch-protection rule that matches the name even with no branch behind it), so the one-command install 404'd. dev is currently the repo's only branch and serves the script fine now that the repo is public — verified 200, with all three v0.1.0 release assets resolving and the AppImage downloading in full. Flagged in the header to move back to main once that branch exists, so the public install command stops tracking day-to-day work. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SreJkbxB4gx8pPsu8QbLPi
This commit is contained in:
@@ -2,7 +2,11 @@
|
|||||||
#
|
#
|
||||||
# ThoughtSync desktop — one-command Linux installer.
|
# ThoughtSync desktop — one-command Linux installer.
|
||||||
#
|
#
|
||||||
# curl -fsSL https://git.fabledsword.com/bvandeusen/thoughtsync/raw/branch/main/desktop/packaging/install.sh | sh
|
# curl -fsSL https://git.fabledsword.com/bvandeusen/thoughtsync/raw/branch/dev/desktop/packaging/install.sh | sh
|
||||||
|
#
|
||||||
|
# Points at `dev` because that is currently the repo's only branch — `main` does
|
||||||
|
# not exist yet, so a main URL 404s. Move this to `main` once that branch is
|
||||||
|
# created, so the public install command stops tracking day-to-day work.
|
||||||
#
|
#
|
||||||
# Fetches the LATEST published release for this machine's architecture and
|
# Fetches the LATEST published release for this machine's architecture and
|
||||||
# installs it, ending with a working app + menu entry. Native-first:
|
# installs it, ending with a working app + menu entry. Native-first:
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ first_id() { grep -oE '"id"[[:space:]]*:[[:space:]]*[0-9]+' | head -1 | grep -oE
|
|||||||
echo "==> Creating release for $TAG"
|
echo "==> Creating release for $TAG"
|
||||||
BODY=$(cat <<JSON
|
BODY=$(cat <<JSON
|
||||||
{"tag_name":"$TAG","name":"ThoughtSync $TAG","draft":false,"prerelease":false,
|
{"tag_name":"$TAG","name":"ThoughtSync $TAG","draft":false,"prerelease":false,
|
||||||
"body":"ThoughtSync desktop $TAG.\n\n- **Debian / Ubuntu** — native \`.deb\`\n- **Arch / CachyOS** — native \`.pkg.tar.*\`\n- **everything else** — \`.AppImage\` (de-bundled graphics: renders on any GPU/Wayland setup)\n\nInstall / update — picks the right one for your system:\n\`\`\`\ncurl -fsSL $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/raw/branch/main/desktop/packaging/install.sh | sh\n\`\`\`"}
|
"body":"ThoughtSync desktop $TAG.\n\n- **Debian / Ubuntu** — native \`.deb\`\n- **Arch / CachyOS** — native \`.pkg.tar.*\`\n- **everything else** — \`.AppImage\` (de-bundled graphics: renders on any GPU/Wayland setup)\n\nInstall / update — picks the right one for your system:\n\`\`\`\ncurl -fsSL $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/raw/branch/dev/desktop/packaging/install.sh | sh\n\`\`\`"}
|
||||||
JSON
|
JSON
|
||||||
)
|
)
|
||||||
# 409 = a release for this tag already exists (re-run) — fall through to lookup.
|
# 409 = a release for this tag already exists (re-run) — fall through to lookup.
|
||||||
|
|||||||
Reference in New Issue
Block a user