Commit 6cd78515 authored by Denis Smirnov's avatar Denis Smirnov

Add script for updating for upstream git

parent 99f46a93
#!/bin/sh
git fetch git://git.musicpd.org/master/mpd.git master:upstream
tag=`git tag | grep ^v | sort -n | tail -n 1 | sed s/^v//`
git merge -s ours --no-edit v$tag
sed -i "s/^Version:.*/Version: $tag/" mpd.spec
sed -i "s/^Release:.*/Release: alt1/" mpd.spec
add_changelog -e "- update to $tag" mpd.spec
gear-update-tag -ac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment