Skip to content

Commit

Permalink
ci create package, -q on unzips, ls fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danoli3 committed Aug 21, 2024
1 parent b65df1f commit 94bdcbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/ci/simulate_nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $SCRIPT_DIR/package_builds.sh $RELEASE

# List output directory
echo "Listing output directory..."
ls -lah out/
ls -lah $OF_ROOT/out/

# Update Release (assuming you have a script or tool to handle GitHub releases)
# echo "Updating release..."
Expand Down
6 changes: 3 additions & 3 deletions scripts/dev/create_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ function createPackage {
# use prepackaged gui
downloader https://github.com/openframeworks/projectGenerator/releases/download/nightly/projectGenerator-vs-gui.zip 2> /dev/null
mkdir -p projectGenerator
unzip projectGenerator-vs-gui.zip -d "projectGenerator" 2> /dev/null
unzip -q projectGenerator-vs-gui.zip -d "projectGenerator" 2> /dev/null
# if [ "$pkg_platform" = "msys2" ]; then
# sed -i "s/osx/msys2/g" projectGenerator/resources/app/settings.json
# else
Expand All @@ -436,7 +436,7 @@ function createPackage {

if [ "$pkg_platform" = "osx" ] || [ "$pkg_platform" = "ios" ] || [ "$pkg_platform" = "macos" ]; then
downloader https://github.com/openframeworks/projectGenerator/releases/download/nightly/projectGenerator-osx.zip 2> /dev/null
unzip projectGenerator-osx.zip
unzip -q projectGenerator-osx.zip
mv projectGenerator-osx/ projectGenerator
rm projectGenerator-osx.zip
rm -rf apps/projectGenerator
Expand Down Expand Up @@ -466,7 +466,7 @@ function createPackage {
# mv dist/projectGenerator-win32-ia32 ${pkg_ofroot}/projectGenerator-windows
# cd ${pkg_ofroot}/projectGenerator-windows/resources/app/app/
downloader https://github.com/openframeworks/projectGenerator/releases/download/nightly/projectGenerator-vs-gui.zip 2> /dev/null
unzip -d "projectGenerator" projectGenerator-vs-gui.zip 2> /dev/null
unzip -q -d "projectGenerator" projectGenerator-vs-gui.zip 2> /dev/null
rm projectGenerator-vs-gui.zip
cd ${pkg_ofroot}

Expand Down

0 comments on commit 94bdcbb

Please sign in to comment.