view deploy.sh @ 81:a446ab055307 draft default tip

"planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 1abb25638cbf5e86c70b59de6453c7c045c2364f"
author mvdbeek
date Sun, 26 Apr 2020 07:59:19 -0400
parents 39d9bc17ec74
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