do_libopenmpt_release_rc.sh 697 B

12345678910111213
  1. #!/usr/bin/env bash
  2. set -e
  3. svn up
  4. NEWVER=$(make distversion-pure)
  5. NEWREV=$(svn info --xml . | xpath -e '/info/entry/commit/@revision' -q | sed 's/revision//g' | tr '"' ' ' | tr '=' ' ' | sed 's/ //g')
  6. svn cp -m "tag libopenmpt-${NEWVER}" -r ${NEWREV} https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30 https://source.openmpt.org/svn/openmpt/tags/libopenmpt-${NEWVER}
  7. TAGREV=$(svn info --xml https://source.openmpt.org/svn/openmpt/tags/libopenmpt-${NEWVER} | xpath -e '/info/entry/commit/@revision' -q | sed 's/revision//g' | tr '"' ' ' | tr '=' ' ' | sed 's/ //g')
  8. echo "ALL DONE."
  9. echo "run './release-0.6.sh $NEWVER +r${TAGREV}' in a website checkout after buildbot has finished."