Commit Graph

60 Commits

Author SHA1 Message Date
anon8675309 b2391e952f Enable gitlab CI to build debian packages 2021-05-23 01:45:07 -05:00
Isaac Connor 1d5cdf9965 use ubuntu2004 for hirsute 2021-05-19 21:41:35 -04:00
Isaac Connor 2afbbb17d2 Must upload source package. Get rid of -sd 2021-05-14 10:41:36 -04:00
Isaac Connor 95249d5eb4 Merge branch 'release-1.34' 2021-04-12 16:32:57 -04:00
Isaac Connor a341d2ef84 Don't upload orig tarball by adding -sd 2021-04-12 16:02:02 -04:00
Isaac Connor 2308bfab8e Add groovy and hirsute to ubuntu builds 2021-02-09 23:32:27 -05:00
Isaac Connor 17369e73e2 Merge branch 'release-1.34' of github.com:ZoneMinder/zoneminder into release-1.34 2020-09-16 15:30:05 -04:00
Isaac Connor 64d05394dd Merge branch 'release-1.34' 2020-09-16 15:29:50 -04:00
Isaac Connor f86e83b4c4 Indicate default action 2020-09-16 15:29:42 -04:00
Isaac Connor a39adbd2d8 Use git fetch instead of pull. Pull doesn't always get the tags. Die if checkout failed 2020-09-16 15:23:47 -04:00
Isaac Connor 2a7ea52330 Merge branch 'release-1.34' 2020-08-23 11:51:54 -04:00
Isaac Connor cf63cc65c8 eoan is deprecated. 2020-08-23 11:42:08 -04:00
Isaac Connor d42424d6d8 Merge branch 'release-1.34' 2020-08-11 11:41:11 -04:00
Isaac Connor 12dbd267bf Add devuan beowulf support 2020-08-11 09:21:48 -04:00
Isaac Connor 9b4a753194 deprecate ubuntu disco 2020-06-09 14:20:35 -04:00
Isaac Connor 4cf7c1a16e deprecate trusty and precise. Use new cleaned up rules for focal and buster 2020-04-23 15:02:00 -04:00
Isaac Connor fc5080d9c7 deprecate support for trusty and disco 2020-04-14 17:30:16 -04:00
Isaac Connor 2f0b991761 If can't determine latest stable release, then quit 2020-03-30 10:05:19 -04:00
Isaac Connor 0b5ebbbe59 add focal to ubuntu builds 2020-03-24 14:56:25 -04:00
Isaac Connor e6785fca90 fix repo when doing a release 2020-02-11 17:10:08 -05:00
adam ce7b62c825 Fixed unquoted variable which was failing to correctly detect error case
This was discovered when there was a DNS failure (it's always DNS) and
it caused a syntax error on line 178.  I changed it to use -z to check
for a zero length string, as suggested by the man page.  Putting $VERSION
in double quotes would also be a valid fix.

Here's what the script looks like when it fails:

./do_debian_package.sh --snapshot=stable --type=local --interactive=no
Doing local build
Defaulting to bionic for distribution
Defaulting to ZoneMinder upstream git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Latest stable branch is
git clone https://github.com/ZoneMinder/ZoneMinder.git ZoneMinder_zoneminder_release
Cloning into 'ZoneMinder_zoneminder_release'...
fatal: unable to access 'https://github.com/ZoneMinder/ZoneMinder.git/': Could not resolve host: github.com
./do_debian_package.sh: line 172: cd: ZoneMinder_zoneminder_release: No such file or directory
fatal: not a git repository (or any of the parent directories): .git
cat: ZoneMinder_zoneminder_release/version: No such file or directory
./do_debian_package.sh: line 178: [: ==: unary operator expected
Doing local release zoneminder_
mv: cannot stat 'ZoneMinder_zoneminder_release': No such file or directory
Error status code is: 0
Setting up build dir failed.
2019-12-29 14:13:49 -06:00
Isaac Connor 2bf9852404 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2019-10-20 11:44:22 -04:00
Isaac Connor bf69e053b4 Add SNAPTSHOT=CURRENT to build with the commit # in the version string 2019-10-20 11:44:19 -04:00
Isaac Connor c240767727 Add eoan to distros 2019-10-20 11:41:55 -04:00
Isaac Connor 479e7c290c cosmic is unsupported, don't build for it by default 2019-08-01 09:51:03 -04:00
Isaac Connor 8cf7563ce4 fix merge 2019-06-24 12:00:19 -04:00
Isaac Connor 148a48a861 Merge branch 'master' of github.com:ConnorTechnology/ZoneMinder 2019-06-24 11:59:08 -04:00
Isaac Connor ee19322e11 update do_debian_package from storageareas 2019-06-24 11:57:52 -04:00
Isaac Connor 1815bf18a9 Add support for specifying PPA 2019-06-24 11:55:38 -04:00
Isaac Connor df19e98f28 Add auto dput when interactive==no 2019-05-28 10:59:58 -04:00
Isaac Connor 3b045f3958 when release is a 1.30, then use the old stable ppa 2019-02-22 10:48:42 -05:00
Isaac Connor 5496f6afac add cosmic and disco to ubuntu builds 2018-11-29 10:48:16 -05:00
Isaac Connor 633fbfc5b4 rework release mode. When doing a release, we cannot regenerate the .orig tarball for each distro. It has to be the same or else the ppa will reject any further uploads. So now the distro command line parameter can be a comma separated list of distros to build for and will default to xenial,bionic,trusty 2018-10-03 13:03:44 -04:00
Isaac Connor 5f89931774 Add grabbing original source tarball from github and overwriting the generated tarball with it. 2018-10-02 15:53:32 -04:00
Isaac Connor 7ac955d005 further changes to ensure that source .orig tarball is always the same 2018-09-26 16:44:04 -04:00
Isaac Connor 89cd7ceaf8 Whitespace, extra parentheses, google code style 2018-09-23 16:47:06 -04:00
Isaac Connor 9e12830bf5 add a test for devscripts being installed. 2017-11-21 11:53:53 -05:00
Isaac Connor 4d130b8595 updates to do_debian_package 2017-07-11 14:42:26 -04:00
Isaac Connor b16d84911b merge fixes from storageareas 2017-06-09 10:38:20 -04:00
Isaac Connor 3215f2e702 merge latest updates 2017-05-09 16:57:28 -04:00
Isaac Connor 998aa2199b fix message for consistency 2017-04-24 16:55:08 -04:00
Isaac Connor 4d851dc00f Add Distribution guessing 2017-04-24 16:54:01 -04:00
Isaac Connor c5d2652d1b add code to specifically handle a release, and package versions 2017-04-24 16:50:33 -04:00
Isaac Connor 0e8d1baebb add an urgency flag 2017-01-16 21:13:56 -05:00
Isaac Connor a30af05bcf change parameters to use -o= or --option= and add interactive flag 2017-01-15 12:18:51 -05:00
Isaac Connor d7f81393a8 fixes to detect and use environment variables for AUTHOR and debsign keys 2017-01-14 10:53:05 -05:00
Isaac Connor b8dcebadd5 remove iconnor references 2017-01-14 10:01:55 -05:00
Isaac Connor e3f073b275 update to add binary options, dput to ppa and use alternate fork. Also support newer distros and wheezy. 2017-01-14 09:58:36 -05:00
Steve Gilvarry 97a4cf0852 Add the changes...doh 2016-05-01 15:06:45 +10:00
Isaac Connor 7645e29913 fix distro dirs, because the cmake versions have been renamed to not have cmake in them 2016-04-06 12:27:24 -04:00