Skip to content
Snippets Groups Projects
Unverified Commit 7a9ea832 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman Committed by GitHub
Browse files

Merge pull request #1227 from t-woerner/fix_build_galaxy_release_sh_offline

utils/build-galaxy-release.sh: Fix offline default value
parents c24e8b49 2804ec3f
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ all=0 ...@@ -35,7 +35,7 @@ all=0
keep=0 keep=0
install=0 install=0
path= path=
offline=0 offline=
galaxy_version= galaxy_version=
while getopts "ahkio:p:" arg; do while getopts "ahkio:p:" arg; do
case $arg in case $arg in
...@@ -127,7 +127,7 @@ sed -i -e "s/name: .*/name: \"$name\"/" galaxy.yml ...@@ -127,7 +127,7 @@ sed -i -e "s/name: .*/name: \"$name\"/" galaxy.yml
find . -name "*~" -exec rm {} \; find . -name "*~" -exec rm {} \;
if [ $offline == 0 ]; then if [ $offline != 1 ]; then
echo "Creating CHANGELOG.rst..." echo "Creating CHANGELOG.rst..."
"$(dirname "$0")/changelog" --galaxy > CHANGELOG.rst "$(dirname "$0")/changelog" --galaxy > CHANGELOG.rst
echo -e "\033[ACreating CHANGELOG.rst... \033[32;1mDONE\033[0m" echo -e "\033[ACreating CHANGELOG.rst... \033[32;1mDONE\033[0m"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment