Skip to content
Snippets Groups Projects
Commit 50a1c2f9 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

utils/build-galaxy-release: Do not add release tag to version for galaxy

Galaxy does not like the use of the extra "-1" release tag.

Fixes: #236 (Can't install via Galaxy)
parent 0fb05dfa
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
galaxy_version=$(git describe --tags | sed -e "s/^v//")
echo $galaxy_version | grep "-" -q || galaxy_version="${galaxy_version}-1"
echo $galaxy_version | grep "-" -q || galaxy_version="${galaxy_version}"
sed -i -e "s/version: .*/version: \"$galaxy_version\"/" galaxy.yml
find . -name "*~" -exec rm {} \;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment