-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MSI release build for signed exe (#229)
- Loading branch information
1 parent
1495da5
commit db5856d
Showing
3 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
internal/buildscripts/packaging/msi/msi-builder/docker-entrypoint.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
SMART_AGENT_RELEASE="${SMART_AGENT_RELEASE:-}" | ||
OUTPUT_DIR="${OUTPUT_DIR:-}" | ||
|
||
if [ -z "$SMART_AGENT_RELEASE" ]; then | ||
echo "SMART_AGENT_RELEASE env var not set!" >&2 | ||
exit 1 | ||
fi | ||
|
||
if [ -z "$OUTPUT_DIR" ]; then | ||
echo "OUTPUT_DIR env var not set!" >&2 | ||
exit 1 | ||
fi | ||
|
||
if [ $# -eq 0 ]; then | ||
echo "Required version argument not specified!" >&2 | ||
exit 1 | ||
fi | ||
|
||
buildargs="--output /work/build/stage --smart-agent $SMART_AGENT_RELEASE $@" | ||
su wix -c "/work/build.sh $buildargs" | ||
|
||
cp /work/build/stage/*.msi $OUTPUT_DIR/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters