summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-29 15:10:37 +0100
committerwm4 <wm4@nowhere>2014-12-29 15:10:37 +0100
commit9c96e5bf36600582c972523f8aade926c4f44be8 (patch)
tree9b25bd18a1a2af3636a41983e5c73b01294cc4c1
parentd0a0870e67605dd928add369976850db9dae96b8 (diff)
downloadmpv-build-9c96e5bf36600582c972523f8aade926c4f44be8.tar.bz2
mpv-build-9c96e5bf36600582c972523f8aade926c4f44be8.tar.xz
Don't pull ffmpeg -dev versions if stable release is selected
FFmpeg now has tags like n2.6-dev, which we must exclude.
-rwxr-xr-xupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/update b/update
index ba7da69..e5e3395 100755
--- a/update
+++ b/update
@@ -45,7 +45,7 @@ do_releasetag()
{
(
cd "$1"
- version=`git tag | grep -v rc | versort_with_prefix "$2" | tail -n 1`
+ version=`git tag | grep -v rc | grep -v dev | versort_with_prefix "$2" | tail -n 1`
git checkout --detach refs/tags/"$version"
)
}