make-tag.sh 371 B

123456789101112131415161718
  1. #! /bin/sh
  2. # A helper script to make tags
  3. base=https://only.mawhrin.net/repos/stuff
  4. if [ ! -r fbreader/VERSION ]
  5. then
  6. echo "You are not in the right directory (fbreader/VERSION) does not exist"
  7. exit 2
  8. fi
  9. version=`cat fbreader/VERSION`
  10. echo "Tagging $version of FBReader"
  11. svn cp $base/trunk $base/tags/fbreader-$version -m "(automatic) tagging version $version"