makerelease 684 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/sh -e
  2. if [ -z "$ANDROID_HOME" ]; then
  3. echo 'No $ANDROID_HOME specified.'
  4. exit 1
  5. fi
  6. VERSION=$1
  7. PREV_VERSION=$2
  8. git checkout refs/tags/release-$VERSION
  9. git log --pretty=fuller --date=short refs/tags/release-$PREV_VERSION..HEAD > ChangeLog
  10. ./configure && \
  11. make dist-bzip2 && make dist-gzip && make dist-xz || echo "error"
  12. make distclean
  13. # mingw 32bit
  14. export HOST=i686-w64-mingw32
  15. export LABEL=win-32bit
  16. ./mingw-config
  17. make -j3
  18. ./mingw-release
  19. make distclean
  20. # mingw 64bit
  21. export HOST=x86_64-w64-mingw32
  22. export LABEL=win-64bit
  23. ./mingw-config
  24. make -j3
  25. ./mingw-release
  26. make distclean
  27. # android
  28. ./android-config
  29. ./android-make -j3
  30. ./android-release
  31. make distclean