加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
makerelease 818 Bytes
一键复制 编辑 原始数据 按行查看 历史
Tatsuhiro Tsujikawa 提交于 2019-10-06 10:16 . Fix makerelease
#!/bin/sh -e
if [ -z "$ANDROID_HOME" ]; then
echo 'No $ANDROID_HOME specified.'
exit 1
fi
if [ -z "$NDK" ]; then
echo 'No $NDK specified.'
exit 1
fi
VERSION=$1
PREV_VERSION=$2
git checkout refs/tags/release-$VERSION
git log --pretty=fuller --date=short refs/tags/release-$PREV_VERSION..HEAD > ChangeLog
autoreconf -i
./configure && \
make dist-bzip2 && make dist-gzip && make dist-xz || echo "error"
make distclean
# mingw 32bit
export HOST=i686-w64-mingw32
export LABEL=win-32bit
./mingw-config
make -j8
./mingw-release
make distclean
# mingw 64bit
export HOST=x86_64-w64-mingw32
export LABEL=win-64bit
./mingw-config
make -j8
./mingw-release
make distclean
# android
./android-config
make -j8
./android-release
make distclean
# OSX builds are created separately using makerelease-osx.mk
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化