Skip to content

Commit 8a36ea6

Browse files
author
Lessley Dennington
committed
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.
1 parent ef8e38e commit 8a36ea6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/linux/Packaging.Linux/build.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ fi
4545
OUTDIR="$INSTALLER_OUT/$CONFIGURATION"
4646
PAYLOAD="$OUTDIR/payload"
4747

48+
# Lay out payload
49+
"$INSTALLER_SRC/layout.sh" --configuration="$CONFIGURATION" || exit 1
50+
4851
if [ $INSTALL_FROM_SOURCE = true ]; then
4952
INSTALL_LOCATION="/usr/local"
5053
mkdir -p "$INSTALL_LOCATION"
@@ -74,8 +77,7 @@ if [ $INSTALL_FROM_SOURCE = true ]; then
7477

7578
echo "Install complete."
7679
else
77-
# Layout and pack
78-
"$INSTALLER_SRC/layout.sh" --configuration="$CONFIGURATION" --output="$PAYLOAD" --symbol-output="$" || exit 1
80+
# Pack
7981
"$INSTALLER_SRC/pack.sh" --configuration="$CONFIGURATION" --payload="$PAYLOAD" --version="$VERSION" || exit 1
8082
fi
8183

0 commit comments

Comments
 (0)