https://github.com/galaxyproject/galaxy
Raw File
Tip revision: 0108d6529358e0e3d8a1d6e94c0eb7b5f362db78 authored by John Davis on 22 February 2024, 00:03:00 UTC
Create version 23.2.1
Tip revision: 0108d65
build_packages.sh
#!/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
    if [ -z "$package_dir" ]; then
        # Skip empty lines
        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
back to top