[PATCH 1/2] Simplify vesion extraction and correct some bugglet.

Dirk Hohndel dirk at hohndel.org
Sat Feb 16 15:58:24 PST 2013


Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com> writes:
> Added unified version extraction script (scripts/get-version). Yes, it's
> more shell script code but faster and more maintainable than the sed commands
> and the swearwords/regexps repeated over and over again.
>
> Makefile and packaging/macosx/make-package.sh modified accordingly.
>
> I don't do windos neither macos but, AFAICS my tests show, it should be safe.

I don't know if this works when building natively on Windows, but it
works nicely when building natively on a Mac and when cross building on
Linux for Windows.

One thing that this made obvious was that I forgot to push the tag I
created a while ago when trying to test my old hacky way of getting the
version numbers for the installer packages... Oops. So don't be
surprised if you just go a new tag for a version that's already about
190 commits ago.

I also pushed up a small cleanup of my little Windows cross-building
wrapper.

Thanks for your work on this infrastructure... doing this stuff is less
glamorous than the great cool features but tremendously helpful to me.

And that's all that matters, right? :-)

/D


More information about the subsurface mailing list