linux make install (#12870)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-06-10 20:43:13 -06:00 committed by GitHub
parent 44a58647e4
commit ef84ce76e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 60 additions and 25 deletions

View file

@ -95,14 +95,12 @@ mkdir -p "${zed_dir}/share/applications"
envsubst < "crates/zed/resources/zed.desktop.in" > "${zed_dir}/share/applications/zed$suffix.desktop"
# Licenses
script/generate-licenses
cp "assets/licenses.md" "${zed_dir}/licenses.md"
# Create archive out of everything that's in the temp directory
target="linux-$(uname -m)"
if [[ "$channel" == "nightly" ]]; then
archive="zed-${target}.tar.gz"
elif [[ "$channel" == "dev" ]]; then
if [[ "$channel" == "dev" ]]; then
archive="zed-${commit}-${target}.tar.gz"
else
archive="zed-${target}.tar.gz"