Skip to content
Snippets Groups Projects
Commit f3158c3f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

version.sh: Print versions based on the last git tag for release branches


release branches are detected by checking if "git" is not in RELEASE
This changes "N-64706-g2f71aeb" to "n2.3-8-g2f71aeb"
for git master theres no change

This should improve the readability of lists of versions which come from
more than 1 release branch or master + release. fate.ffmpeg.org is
one possible example

Reviewed-by: default avatarTimothy Gu <timothygu99@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ee606fd0)

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 243236a6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment