Files
galaxy/script/linux/package_metadata
T
rkw6086 dbfa8bcd48 Complete agent monitoring and Galaxy Control integration
- expose command-monitor conversations and preserve visible agent transcripts
- add bounded polling and a dedicated shell interrupt tool
- improve direct-provider images, skills, tool history, and usage handling
- package and brand Galaxy Control across releases, installers, persistence, and docs
2026-07-29 15:04:58 -05:00

45 lines
1.2 KiB
Bash

#!/usr/bin/env bash
#
# Derives Linux package metadata from Galaxy's release channel and artifact.
# This file is sourced by the individual package builders.
case "$RELEASE_CHANNEL" in
stable)
CHANNEL_SUFFIX=""
;;
local|dev|preview|oss)
CHANNEL_SUFFIX="-$RELEASE_CHANNEL"
;;
*)
echo "::error ::Unknown RELEASE_CHANNEL: $RELEASE_CHANNEL" >&2
return 1
;;
esac
GALAXY_AI_COMMAND_NAME="galaxy-ai$CHANNEL_SUFFIX"
GALAXY_CONTROL_COMMAND_NAME="galaxyctrl$CHANNEL_SUFFIX"
case "$ARTIFACT" in
app)
# The OSS desktop entry invokes the Cargo binary directly. Other channels
# expose the traditional `*-terminal` launcher independently of the Cargo
# binary name.
if [[ "$RELEASE_CHANNEL" == "oss" ]]; then
PACKAGE_NAME="galaxy-oss"
else
PACKAGE_NAME="galaxy-terminal$CHANNEL_SUFFIX"
fi
;;
cli)
PACKAGE_NAME="galaxy-ai$CHANNEL_SUFFIX"
;;
*)
echo "::error ::Unknown ARTIFACT: $ARTIFACT (expected 'app' or 'cli')" >&2
return 1
;;
esac
# Repository provisioning still uses the existing release infrastructure and
# templates. This name is intentionally independent of Galaxy package names.
REPO_NAME="warpdotdev$CHANNEL_SUFFIX"