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)
This commit is contained in:
Thomas Woerner
2020-03-30 14:37:46 +02:00
parent 0fb05dfaca
commit 50a1c2f9cd

View File

@@ -1,7 +1,7 @@
#!/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 {} \;