mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-28 02:58:18 +08:00
33 lines
682 B
Bash
Executable File
33 lines
682 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Builds packages, sets new versions, but doesn't upload anything to pypi.
|
|
# Set DEV_RELEASE=1 to build the dev of packages.
|
|
|
|
set -ex
|
|
|
|
# Change to packages directory.
|
|
cd "$(dirname "$0")"
|
|
|
|
# Ensure ordered by dependency dag
|
|
while read -r package_dir; do
|
|
# Ignore empty lines
|
|
if [ -z "$package_dir" ]; then
|
|
continue
|
|
fi
|
|
# Ignore lines beginning with `#`
|
|
if [[ $package_dir =~ ^#.* ]]; then
|
|
continue
|
|
fi
|
|
|
|
printf "\n========= RELEASING PACKAGE %s =========\n\n" "$package_dir"
|
|
|
|
cd "$package_dir"
|
|
|
|
make clean
|
|
make commit-version
|
|
make dist
|
|
make new-version
|
|
|
|
cd ..
|
|
done < packages_by_dep_dag.txt
|