Cross compile binaries in release scripts

This commit is contained in:
Zachary Yedidia 2020-02-16 00:40:51 +00:00
parent 11534a2aeb
commit bc974e13f0
3 changed files with 12 additions and 0 deletions

View file

@ -17,6 +17,10 @@ hub push origin :refs/tags/nightly
git tag -f nightly $commitID git tag -f nightly $commitID
hub push --tags hub push --tags
echo "Cross compiling binaries"
./cross-compile.sh $1
mv ../binaries .
echo "Creating new release" echo "Creating new release"
hub release create nightly \ hub release create nightly \
--prerelease \ --prerelease \

View file

@ -10,6 +10,10 @@ echo "Creating tag"
git tag $tag $commitID git tag $tag $commitID
hub push --tags hub push --tags
echo "Cross compiling binaries"
./cross-compile.sh $1
mv ../binaries .
NL=$'\n' NL=$'\n'
echo "Creating new release" echo "Creating new release"

View file

@ -12,6 +12,10 @@ hub push --tags
NL=$'\n' NL=$'\n'
echo "Cross compiling binaries"
./cross-compile.sh $1
mv ../binaries .
echo "Creating new release" echo "Creating new release"
hub release create $tag \ hub release create $tag \
--message "$1${NL}${NL}$2" \ --message "$1${NL}${NL}$2" \