Skip to content

A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.

Name macOS archives without the v prefix

RoversX4ce86425fa39
diff --git a/ci/macos-package.sh b/ci/macos-package.sh
index 678364b1..7d3f8d7b 100755
--- a/ci/macos-package.sh
+++ b/ci/macos-package.sh
@@ -145,12 +145,20 @@ EOT
echo " notarization credentials: profile '$NOTARY_PROFILE' works"
fi
+# The tag keeps its v so it matches the GitHub release, but the filename drops
+# it. That is the same split the workflow makes -- release.yml derives
+# version="${GITHUB_REF_NAME#v}" and names every Linux and Windows artifact
+# from it -- and matching here is what keeps one release page from carrying
+# both ThinkTerm-macos-v0.1.0.zip and thinkterm-0.1.0.Ubuntu22.04.deb. The v
+# has to go for deb and rpm regardless: their version fields reject it.
+version="${TAG#v}"
+
echo
echo "==> Packaging as $TAG in $MODE mode"
-TAG_NAME="$TAG" MACOS_SIGNING_MODE="$MODE" bash ci/deploy.sh
+TAG_NAME="$version" MACOS_SIGNING_MODE="$MODE" bash ci/deploy.sh
# deploy.sh derives both names the same way; keep them in sync with it.
-zipdir="ThinkTerm-macos${MACOS_ARCH:+-$MACOS_ARCH}-$TAG"
+zipdir="ThinkTerm-macos${MACOS_ARCH:+-$MACOS_ARCH}-$version"
zipname="$zipdir.zip"
app="$zipdir/ThinkTerm.app"
diff --git a/ci/wezterm-homebrew-macos.rb.template b/ci/wezterm-homebrew-macos.rb.template
index 32c832b9..555026a0 100644
--- a/ci/wezterm-homebrew-macos.rb.template
+++ b/ci/wezterm-homebrew-macos.rb.template
@@ -7,7 +7,9 @@ cask "thinkterm" do
version "@TAG@"
sha256 "@SHA256@"
- url "https://github.com/RoversX/thinkterm/releases/download/#{version}/ThinkTerm-macos-#{version}.zip"
+ # The v belongs to the git tag only: Homebrew expects a bare version, and the
+ # asset is named without one to match the Linux and Windows artifacts.
+ url "https://github.com/RoversX/thinkterm/releases/download/v#{version}/ThinkTerm-macos-#{version}.zip"
name "ThinkTerm"
desc "A workspace-first terminal"
homepage "https://github.com/RoversX/thinkterm"