summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-07 15:44:12 +0200
committerwm4 <wm4@nowhere>2014-04-07 15:44:12 +0200
commit0dc42c4e535d244dc87665a3dbbc2a44162938e6 (patch)
treefed9e5eb2de1fa6187acd5b4d29f28ada5d359d4
parent41043e57234031d114c43929a27ab91c1054a106 (diff)
downloadmpv-build-0dc42c4e535d244dc87665a3dbbc2a44162938e6.tar.bz2
mpv-build-0dc42c4e535d244dc87665a3dbbc2a44162938e6.tar.xz
Don't use ffmpeg release candidates
The update script picked n2.2-rc2 over n2.2, which is very bad. Fix this by ignoring tags that contain the string "rc".
-rwxr-xr-xupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/update b/update
index 40c637f..fffee96 100755
--- a/update
+++ b/update
@@ -55,7 +55,7 @@ do_releasetag()
{
(
cd "$1"
- version=`git tag | versort_with_prefix "$2" | tail -n 1`
+ version=`git tag | grep -v rc | versort_with_prefix "$2" | tail -n 1`
git checkout --detach refs/tags/"$version"
)
}