Add (flatpak) and (snap) suffixes to Zed version in system info (#32903)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-06-17 14:39:35 -06:00 committed by GitHub
parent 051fa06c7c
commit a422345224
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 54 additions and 10 deletions

View file

@ -4,7 +4,7 @@ set -euo pipefail
cd "$(dirname "$0")/../.."
shopt -s extglob
script/bundle-linux
script/bundle-linux --flatpak
archive_match="zed(-[a-zA-Z0-9]+)?-linux-$(uname -m)\.tar\.gz"
archive=$(ls "target/release" | grep -E ${archive_match})
channel=$(<crates/zed/RELEASE_CHANNEL)