view deploy.sh @ 46:7b4fe0f65c3d draft

planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit ff53a7c7582a4dfda1bfcc0c8832b4edc223bc5e
author mvdbeek
date Mon, 28 Jan 2019 03:25:40 -0500
parents e68a225983d5
children
line wrap: on
line source

#!/bin/bash
# this script uploads galaxy tools in the current directory to the galaxy toolsheds
set -e

CURRENT_DIR=$(dirname $0)

echo "Installing planemo"  # Would be great if the dependencies would persist in deployment mode
pip install planemo

echo "Deploying to Testtoolshed ..."
planemo shed_update -r --force_repository_creation -t testtoolshed --shed_key_from_env TTS_KEY "$CURRENT_DIR"

echo "Deploying to Toolshed ..."
planemo shed_update -r --force_repository_creation -t toolshed --shed_key_from_env TS_KEY $CURRENT_DIR

echo "Successfully deployed to toolsheds"
exit 0