makerelease 666 B

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