Commit Graph

78 Commits

Author SHA1 Message Date
Isaac Connor 501aa3fa4a enforce default action 2021-10-19 15:27:37 -04:00
Isaac Connor de5ad5fc61 confirm before tar-gzipping orig. Fix default behaviour in dput prompt 2021-10-12 14:10:08 -04:00
Isaac Connor ae0f7acd56 add support for building impish 2021-09-04 10:33:33 -04:00
Isaac Connor 3e3ce151d8 Add impish to possible distros to build 2021-09-04 10:18:44 -04:00
anon8675309 4cbda5e645 Simplified branch detection in build scripts for GitLab CI 2021-09-04 10:14:37 -04:00
anon8675309 f5272c99b3 Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:14:27 -04:00
anon8675309 74641731bb Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:14:15 -04:00
anon8675309 a03b505324 Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:14:02 -04:00
anon8675309 85504a8d01 Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:13:13 -04:00
anon8675309 2f32098f46 Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:13:02 -04:00
anon8675309 022e9ad014 Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:12:49 -04:00
anon8675309 6e32de6a91 Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:12:08 -04:00
anon8675309 15ed9bf06d Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:11:57 -04:00
anon8675309 3cf48fc51c Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:11:47 -04:00
anon8675309 ffb0e0dd8c Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:11:35 -04:00
anon8675309 ddecc3800b Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:11:17 -04:00
anon8675309 d4c2c99de4 Attempting to build the lastest tag instead of a hard-coded one 2021-09-04 10:11:06 -04:00
anon8675309 456290ca19 Enable gitlab CI to build debian packages 2021-09-04 10:10:50 -04:00
Isaac Connor cb58b70078 Leave the zoneminder source dir during build-deps step so that we don't pollute it. Seems to be an issue with newer ubuntu builds. 2021-09-03 21:59:36 -04: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