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

utils/build-galaxy-release.sh: Fix offline default value

The offline default value was 0, which resulted in 0 for
${offline/1/--offline}.

This broke the ansible-galaxy collection install call.
parent c24e8b49
Branches
Tags
No related merge requests found
......@@ -35,7 +35,7 @@ all=0
keep=0
install=0
path=
offline=0
offline=
galaxy_version=
while getopts "ahkio:p:" arg; do
case $arg in
......@@ -127,7 +127,7 @@ sed -i -e "s/name: .*/name: \"$name\"/" galaxy.yml
find . -name "*~" -exec rm {} \;
if [ $offline == 0 ]; then
if [ $offline != 1 ]; then
echo "Creating CHANGELOG.rst..."
"$(dirname "$0")/changelog" --galaxy > CHANGELOG.rst
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