Mercurial > repos > mvdbeek > bam_readtagger
annotate deploy.sh @ 0:a38447a59412 draft
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
author | mvdbeek |
---|---|
date | Fri, 17 Feb 2017 10:54:47 -0500 |
parents | |
children | f69131f584e8 |
rev | line source |
---|---|
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
1 #!/bin/bash |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
2 # this script uploads galaxy tools in the current directory to the galaxy toolsheds |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
3 set -e |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
4 |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
5 CURRENT_DIR=$(dirname $0) |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
6 |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
7 echo "Deploying to Testtoolshed ..." |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
8 planemo shed_update -r --force_repository_creation -t testtoolshed --shed_key_from_env TTS_KEY "$CURRENT_DIR" |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
9 |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
10 echo "Deploying to Toolshed ..." |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
11 planemo shed_update -r --force_repository_creation -t toolshed --shed_key_from_env TS_KEY $CURRENT_DIR |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
12 |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
13 echo "Successfully deployed to toolsheds" |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
14 exit 0 |