Bug 1341895 - Include most recent OTS tag allowing it to be tracked for automated release notifications. r=fredw

MozReview-Commit-ID: KnZDJxWqjhI

--HG--
extra : rebase_source : 3773fb86fe5dca4030d82ba93b5ba7d68c749d0e
This commit is contained in:
Tom Ritter 2017-02-22 16:34:25 -06:00
parent d04870eb06
commit 1090618912
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ This is the Sanitiser for OpenType project, from http://code.google.com/p/ots/.
Our reference repository is https://github.com/khaledhosny/ots/.
Current revision: ba8417620956a920ed1f05a2f666fb6317fb10cb
Current revision: ba8417620956a920ed1f05a2f666fb6317fb10cb (5.1.0)
Upstream files included: LICENSE, src/, include/

View File

@ -22,7 +22,8 @@ cp -r $1/include .
echo "Updating README.mozilla..."
REVISION=`cd $1; git log | head -1 | sed "s/commit //"`
sed -e "s/\(Current revision: \).*/\1$REVISION/" README.mozilla > README.tmp
VERSION=`cd $1; git describe | cut -d '-' -f 1 | sed 's/v//'`
sed -e "s/\(Current revision: \).*/\1$REVISION \($VERSION\)/" README.mozilla > README.tmp
mv README.tmp README.mozilla
echo "Applying ots-visibility.patch..."