Skip to content

Commit 9ef3fcc

Browse files
authored
install from source: publish before attempting install (#987)
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. Validated with [this passing workflow](https://github.com/ldennington/git-credential-manager/actions/runs/3652773502) in my fork.
2 parents ef8e38e + 8a36ea6 commit 9ef3fcc

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)