32 lines
821 B
Bash
32 lines
821 B
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.
|
|
|
|
if [[ "$RELEASE_CHANNEL" != "oss" ]]; then
|
|
echo "::error ::Only the oss release channel is supported" >&2
|
|
return 1
|
|
fi
|
|
|
|
CHANNEL_SUFFIX="-oss"
|
|
|
|
GALAXY_AI_COMMAND_NAME="galaxy-ai$CHANNEL_SUFFIX"
|
|
GALAXY_CONTROL_COMMAND_NAME="galaxyctrl$CHANNEL_SUFFIX"
|
|
|
|
case "$ARTIFACT" in
|
|
app)
|
|
PACKAGE_NAME="galaxy-oss"
|
|
;;
|
|
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="galaxy-oss"
|