Commit Graph

29 Commits

Author SHA1 Message Date
Cœur c63c66c737
fix: Sparkle Version Comparator (#5263)
* fix: Sparkle Version Comparator

* Code review: Reducing CFBundleVersion to three components and avoiding versionComparatorForUpdater

* adding +99 when it's a non-beta release

* code review: set CFBUNDLE_VERSION and unset components

* re-adding support for ignoring beta
2024-03-17 16:23:39 -05:00
Cœur f6f3ff6e29
fix: base62 conversion in peer-id generation (#6486) 2024-01-06 14:14:20 -06:00
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 47f3e68169 Extract version from CMakeLists.txt in update-version-h.sh
Since autotools build system was removed, configure.ac is no longer
available while the script is still being used by the Xcode project.

Fixes: #1553
2020-12-17 16:04:29 +03:00
Mike Gelfand 4c7153fa48
Remove autotools-based build system (#1465)
* Support .git files (e.g. for worktrees, submodules)
* Fix symlinks in source tarball, switch to TXZ, adjust non-release name
* Remove autotools stuff
2020-10-13 03:15:19 +03:00
Peter Dave Hello 7a0d2e63c7 Refactor shell scripts with syntax and styling fixes 2019-01-16 03:22:29 +08:00
Mike Gelfand c951848a5b Merge branch '2.9x' 2018-05-01 22:44:51 +03: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 3c5870d4f5 Use `head` instead of bash extension to get revision substring 2018-01-23 22:14:01 +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 f6b23c02f0 Don't search for SVN revision when calculating version 2018-01-23 21:58:50 +03:00
Mike Gelfand b875e79f3d Replace SVN and SCM with VCS everywhere 2018-01-23 21:58:33 +03:00
Mike Gelfand 8f51cf7e21 Fix "./update-version-h.sh: Bad substitution" 2017-01-15 01:02:45 +03:00
Mike Gelfand fd93316466 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).
2017-01-15 00:54:56 +03:00
Mike Gelfand b2c5a9ce63 Don't search for SVN revision when calculating version 2016-09-02 22:45:03 +03:00
Mike Gelfand 1b81bb7682 Replace SVN and SCM with VCS everywhere 2016-09-02 22:21:00 +03:00
Mike Gelfand a1393e7b35 #5934: Generate REVISION file and use it in case of missing reliable source 2015-04-24 19:14:56 +00:00
Eric Petit 0bad03e6c1 #5925 no CFBundleVersion in Jenkins builds
Work around version mismatch between java's and command-line's svns
2015-04-12 05:08:46 +00:00
Daniel Lee 3f8748edfc change 'v' field in dht to use major/minor version instead of svn revision 2010-10-13 17:09:05 +00:00
Mitchell Livingston 075ce46ba7 #2278 configure.ac: remove AC_DEFINEs of TR_*_RELEASE 2009-07-15 00:42:22 +00:00
Mitchell Livingston 4b1d40d6c1 trivial spacing tweaks 2009-07-11 23:45:51 +00:00
Mitchell Livingston aabbd658b9 the Mac build will now use the standard update version script 2009-07-07 00:32:40 +00:00
Charles Kerr 214dbb8fdd (trunk) fix update-version-h.sh script issue on NetBSD, reported by stdisease, patched by geirha; thanks to both 2009-06-05 17:54:48 +00:00
Erick Turnquist a13e66ef54 (trunk) fix an awk oops (thanks to geirha on freenode) 2009-06-02 01:00:51 +00:00
Charles Kerr 1fc15de22b (trunk) another update-version-h.sh portability update, this time from geirha: "grep -o" isn't posix 2009-06-01 01:01:24 +00:00
Charles Kerr ee0771c751 (trunk) "perl -r" wasn't portable to os x 2009-06-01 00:43:01 +00:00
Charles Kerr 04fb0919eb (trunk) silence a warning in the new "update-version-h.sh" script 2009-05-31 20:31:19 +00:00
Charles Kerr dfa28975dd (trunk) tweak r8572. 2009-05-31 20:25:37 +00:00
Charles Kerr 0834c33445 (trunk) yet another stab at building version.h portably 2009-05-31 20:22:47 +00:00