Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#2861 cronbuilds: Add control over version and build numbers (#4092)
If the build number is 0, we omit it from the package name, rather than appending it. .travis.yml now takes in VERSION_NUMBER and uses it directly. There is no more TAG_SUFFIX: VERSION_NUMBER has to include the build number if that's desired, and that will be part of the tag as well. If VERSION_NUMBER is not set it uses the default as before with a cronbuild- prefix for the tag. runsuite_wrapper.pl parses VERSION_NUMBER and if it has a -NNN it passes that as the build= arg to package.cmake. It also passes a version= argument. Testing: $ TRAVIS_EVENT_TYPE=cron ~/dr/git/src/suite/runsuite_wrapper.pl travis 64_only Running ctest -VV -S "/home/bruening/dr/git/src/suite/../make/package.cmake,travis;64_only;build=0;invoke=/home/bruening/dr/git/src/suite/../drmemory/package.cmake;drmem_only" $ VERSION_NUMBER=8.1.2 TRAVIS_EVENT_TYPE=cron ~/dr/git/src/suite/runsuite_wrapper.pl travis 64_only Running ctest -VV -S "/home/bruening/dr/git/src/suite/../make/package.cmake,travis;64_only;build=0;version=8.1.2;invoke=/home/bruening/dr/git/src/suite/../drmemory/package.cmake;drmem_only" $ VERSION_NUMBER=8.21.42-39 TRAVIS_EVENT_TYPE=cron ~/dr/git/src/suite/runsuite_wrapper.pl travis 64_only Running ctest -VV -S "/home/bruening/dr/git/src/suite/../make/package.cmake,travis;64_only;build=39;version=8.21.42;invoke=/home/bruening/dr/git/src/suite/../drmemory/package.cmake;drmem_only" Fixes #2861
- Loading branch information