From bc974e13f0bbb13231f315fdd6c630ac353cad13 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Sun, 16 Feb 2020 00:40:51 +0000 Subject: [PATCH] Cross compile binaries in release scripts --- tools/nightly-release.sh | 4 ++++ tools/pre-release.sh | 4 ++++ tools/release.sh | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/tools/nightly-release.sh b/tools/nightly-release.sh index 2d60a99a..33fe1a5d 100755 --- a/tools/nightly-release.sh +++ b/tools/nightly-release.sh @@ -17,6 +17,10 @@ hub push origin :refs/tags/nightly git tag -f nightly $commitID hub push --tags +echo "Cross compiling binaries" +./cross-compile.sh $1 +mv ../binaries . + echo "Creating new release" hub release create nightly \ --prerelease \ diff --git a/tools/pre-release.sh b/tools/pre-release.sh index 4b12fb8f..4cdbb331 100755 --- a/tools/pre-release.sh +++ b/tools/pre-release.sh @@ -10,6 +10,10 @@ echo "Creating tag" git tag $tag $commitID hub push --tags +echo "Cross compiling binaries" +./cross-compile.sh $1 +mv ../binaries . + NL=$'\n' echo "Creating new release" diff --git a/tools/release.sh b/tools/release.sh index 18cee9cf..66ec7344 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -12,6 +12,10 @@ hub push --tags NL=$'\n' +echo "Cross compiling binaries" +./cross-compile.sh $1 +mv ../binaries . + echo "Creating new release" hub release create $tag \ --message "$1${NL}${NL}$2" \