mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user