Skip to content

Commit

Permalink
utils/build-galaxy-release.sh: Fix unary operator expected (v2)
Browse files Browse the repository at this point in the history
This fixes a bad tests if offline is not set:
utils/build-galaxy-release.sh: line 130: [: -ne: unary operator expected

Fixes f17f83d
  • Loading branch information
t-woerner committed May 27, 2024
1 parent 8779384 commit 411f5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/build-galaxy-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ find . -name "*~" -exec rm {} \;
find . -name "__py*__" -exec rm -rf {} \;


if [ "$offline" != "" ]; 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"
Expand Down

0 comments on commit 411f5f3

Please sign in to comment.