← Back to team overview

kicad-developers team mailing list archive

Re: Version string changes.

 

Let's see how long it takes me to forget to update the tag and
KiCadVersion.cmake file during version changes. :)  In the long run this
should be a far better solution than what we have been doing.

On 02/16/2018 07:06 PM, Nick Østergaard wrote:
> Thank you. I see you also added the 5.0-dev tag for this.
> 
> 2018-02-13 15:04 GMT+01:00 Wayne Stambaugh <stambaughw@xxxxxxxxx
> <mailto:stambaughw@xxxxxxxxx>>:
> 
>     Just a quick notice to all of the package devs that may impact kicad
>     version strings used for packaging.  I have changed the way the version
>     strings are generated in my development repo and I am planning on
>     pushing this on Friday.  By default git will always be used to generate
>     the version string using `git describe --dirty` as long as git is
>     available and the source folder contains a valid .git folder.
>     Otherwise, the version string will be the contents of the
>     KiCadVersion.cmake file.  The version string in KiCadVersion.cmake will
>     be kept current with the git tags and branches so that when someone
>     builds without git, we will at least know the last tagged version they
>     are using rather than the current "no-vcs-found".  You will still be
>     able to append strings to the version string using the
>     KICAD_VERSION_EXTRA configuration option.
> 
>     Cheers,
> 
>     Wayne
> 
>     _______________________________________________
>     Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
> 
> 


References