-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3710 from cevich/release_redo
Release redo
- Loading branch information
Showing
18 changed files
with
328 additions
and
286 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
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
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
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
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,30 @@ | ||
#!/bin/bash | ||
|
||
source $(dirname $0)/lib.sh | ||
|
||
req_env_var TEST_REMOTE_CLIENT OS_RELEASE_ID GOSRC | ||
|
||
cd $GOSRC | ||
|
||
if [[ "$TEST_REMOTE_CLIENT" == "true" ]] && [[ -z "$CROSS_PLATFORM" ]] | ||
then | ||
CROSS_PLATFORM=linux | ||
fi | ||
|
||
if [[ -n "$CROSS_PLATFORM" ]] | ||
then | ||
echo "Compiling podman-remote release archive for ${CROSS_PLATFORM}" | ||
case "$CROSS_PLATFORM" in | ||
linux) ;& | ||
windows) ;& | ||
darwin) | ||
make podman-remote-${CROSS_PLATFORM}-release | ||
;; | ||
*) | ||
die 1 "Unknown/unsupported cross-compile platform '$CROSS_PLATFORM'" | ||
;; | ||
esac | ||
else | ||
echo "Compiling release archive for $OS_RELEASE_ID" | ||
make podman-release | ||
fi |
Oops, something went wrong.