[FFmpeg-devel] [PATCH] version.sh: Always use latest tag for generated version number

Timo Rothenpieler timo at rothenpieler.org
Thu Mar 3 23:20:02 CET 2016


> Accessing a remote URL in the version script seems like a bad idea to me.

I aggree, but I'm unsure how to propperly address the issue.
The problem is that a plain "git pull" does not update tags,
so if you have an older clone you allways updated via git pull, you end
up with a version number based on an older tag.

The idea behind that fetch command is to fail silently after taking a
maximum of 10 seconds to download the latest tags.

libav (and a lot of other project aswell) just ignores that issue and
uses a plain git describe --tags --always.

> - Hendrik
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160303/9f49b442/attachment.sig>


More information about the ffmpeg-devel mailing list