Skip to content

Commit 12ab0ac

Browse files
authored
Merge pull request #93053 from gabriel-rh/standalone-logging-fixes-package-script-new
fixes for package script to run in github action
2 parents ff6521d + 2c9575f commit 12ab0ac

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/package.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ if [ "$USE_LOCAL" = "true" ]; then
3636
asciibinder package --site=$PACKAGE 2>/dev/null
3737
else
3838
echo "Warning: Local asciibinder not found. Falling back to container."
39-
$CONTAINER_ENGINE run --rm -v `pwd`:/docs:Z quay.io/openshift-cs/asciibinder asciibinder package --site=$PACKAGE
39+
$CONTAINER_ENGINE run --rm -v `pwd`:/docs:Z quay.io/openshift-cs/asciibinder asciibinder package --site=$PACKAGE 2>/dev/null
40+
fi
4041
else
4142
echo "Using $CONTAINER_ENGINE container for build"
42-
$CONTAINER_ENGINE run --rm -v `pwd`:/docs:Z quay.io/openshift-cs/asciibinder sh -c "git config --global --add safe.directory /docs && asciibinder package --site=$PACKAGE"
43+
$CONTAINER_ENGINE run --rm -v `pwd`:/docs:Z quay.io/openshift-cs/asciibinder sh -c "git config --global --add safe.directory /docs && asciibinder package --site=$PACKAGE" 2>/dev/null
4344
fi
4445

4546
## MOVING FILES INTO THE RIGHT PLACES
@@ -49,4 +50,4 @@ sudo mv _package/${PACKAGE}/* ../_package/
4950
git checkout $BRANCH
5051

5152
cd ..
52-
sudo rm -rf .docs_source
53+
sudo rm -rf .docs_source

0 commit comments

Comments
 (0)