From 8a36ea659550c68454cd5989e936bc0559e9a335 Mon Sep 17 00:00:00 2001 From: Lessley Dennington Date: Thu, 8 Dec 2022 15:50:43 -0700 Subject: [PATCH] install from source: publish before attempting install The changes from 3978b0e introduced a bug in the install from source workflow - we were attempting to copy binaries before publishing them! Fixing with this change. --- src/linux/Packaging.Linux/build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/linux/Packaging.Linux/build.sh b/src/linux/Packaging.Linux/build.sh index b2f7dad5a..c407fd892 100755 --- a/src/linux/Packaging.Linux/build.sh +++ b/src/linux/Packaging.Linux/build.sh @@ -45,6 +45,9 @@ fi OUTDIR="$INSTALLER_OUT/$CONFIGURATION" PAYLOAD="$OUTDIR/payload" +# Lay out payload +"$INSTALLER_SRC/layout.sh" --configuration="$CONFIGURATION" || exit 1 + if [ $INSTALL_FROM_SOURCE = true ]; then INSTALL_LOCATION="/usr/local" mkdir -p "$INSTALL_LOCATION" @@ -74,8 +77,7 @@ if [ $INSTALL_FROM_SOURCE = true ]; then echo "Install complete." else - # Layout and pack - "$INSTALLER_SRC/layout.sh" --configuration="$CONFIGURATION" --output="$PAYLOAD" --symbol-output="$" || exit 1 + # Pack "$INSTALLER_SRC/pack.sh" --configuration="$CONFIGURATION" --payload="$PAYLOAD" --version="$VERSION" || exit 1 fi