Commit Graph

13 Commits

Author SHA1 Message Date
Charles Kerr 89d6533cd7
build: support semver versioning (#3867)
* build: semver versioning

Xref: https://github.com/transmission/transmission/issues/1037

* test: add base62 tests for client-id

* build: include PATCH_VERSION in Transmission.rc.in

* build: semver versioning in version.h

* fixup! build: semver versioning in version.h

undo experimental verison changes that were made for testing purposes

* Fixup version in MSI package filename

Co-authored-by: Mike Gelfand <mikedld@mikedld.com>
2022-10-05 16:53:10 -05:00
Mike Gelfand 69d9afd75a Adjust CFBundleVersion format to fix Sparkle update check
Set the first version component to be the same as the last Subversion-based
release build version and add two more components (major and minor version
numbers). To allow for nightly build updates this should probably include
another component (e.g. build timestamp), but we're not there yet.
2018-04-17 13:25:49 +03:00
Mike Gelfand 7f008edab6 Improve version.h file generation
Store full revision hash in REVISION file. Write fixes 10 chars of revision
hash to version.h. Use `#pragma once` in version.h. Support getting revision
from TeamCity environment variable (similar to Jenkins).
2018-01-23 21:59:09 +03:00
Mike Gelfand b875e79f3d Replace SVN and SCM with VCS everywhere 2018-01-23 21:58:33 +03:00
Mike Gelfand 83c4edb008 #5828: Initial CMake build system support 2014-12-01 19:55:22 +00:00
Charles Kerr 0834c33445 (trunk) yet another stab at building version.h portably 2009-05-31 20:22:47 +00:00
Charles Kerr d0a57ce9d2 (trunk libT) version.h.in was doubled up 2009-05-28 17:56:58 +00:00
Charles Kerr 2a157ca600 (trunk) #2125: Get svn revision number with autoconf rather than make 2009-05-28 02:15:53 +00:00
Charles Kerr 82194a2f2f don't require the user to have svn installed when building from tarball 2007-10-24 19:57:47 +00:00
Charles Kerr 39a43cbc08 * more work on the tracker... getting closer.
* oops!  make sure autoconf is giving the `0.80+' in the User-Agent header.
2007-08-18 08:28:57 +00:00
Charles Kerr a9fc478955 get both build systems (hand-written configure, and autoconf) to generate equivalent version.h headers 2007-07-28 04:10:09 +00:00
Charles Kerr a180698e8a save a little bit of memory per-torrent. 2007-07-27 23:07:26 +00:00
Charles Kerr 2a9ab2a7d9 add version.h.in 2007-07-18 23:04:50 +00:00