Commit graph

153 commits

Author SHA1 Message Date
István Váradi
5dacf60fae Debian build classification 'beta' cannot override 'release'.
The Ubuntu/Debian build script classifies the built commit based
on the tags, if any, pointing to the commit. This classification
is used to determine the target PPA.

If no suitable tag points the commit, it will be an 'alpha'
build. If a tag of the format 'vA.B.C' points to the commit,
it will be a 'release' build, if the version is followed by
something, e.g. 'vA.B.C-rc1', it will be a 'beta' build.

The current classification fails if both a 'beta' and
a 'release' tag points to the commit, such as in case of
the recent v3.7.4 release, where the '-rc1' tag points to the
commit that was later released. It was deemed to be a 'beta'
build. This patch fixes this behaviour to build such commits
as 'release'es.

Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2023-03-14 17:15:39 +01:00
István Váradi
806a7d4958 Add Ubuntu Lunar
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2023-03-14 16:02:58 +01:00
tnixeu
5eadb269a6 enable unity build for appimage
Signed-off-by: tnixeu <4436784+tnixeu@users.noreply.github.com>
2022-11-14 08:41:47 +01:00
Matthieu Gallien
ac78581239 gives enough information to allow upload of AppImage
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-09-06 08:16:30 +02:00
Matthieu Gallien
aee4cca970 debug output for upload of AppImage builts for PRs
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-09-06 08:16:30 +02:00
Matthieu Gallien
b484ba3726 fix script that upload AppImage to go in correct path
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-09-06 08:16:30 +02:00
István Váradi
b0d881ebc6 Remove Ubuntu Focal
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2022-09-02 09:54:56 +02:00
Matthieu Gallien
28b50f3fea do not build qt keychain already included in the CI images
clean up some cruft

adapt to the new paths in CI images

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-09-01 10:49:43 +02:00
Matthieu Gallien
4629403dec build script for AppImage should not assume Nextcloud is the name
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-08-26 15:11:31 +02:00
Camila
ab42a25d01
Remove libglib-2.0.so.0 and libgobject-2.0.so.0 from Appimage.
Patch from contributor at nextcloud/client-building/pull/105.

Signed-off-by: Camila <hello@camila.codes>
2022-08-09 16:20:18 +02:00
István Váradi
6b3ba1fe3a Add Debian Bullseye build
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2022-08-03 19:22:14 +02:00
Matthieu Gallien
6f054113e5 modern OpenSSL may install files in /usr/local/lib64
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-08-02 16:28:50 +02:00
István Váradi
3873c61c85 Remove Ubuntu Impish, add Kinetic
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2022-07-22 08:26:14 +02:00
Matthieu Gallien
a5cb5d6063 fix build of appimage for branded clients
makes sure we install files in the proper prefix

makes sure the name of files is able to adapt to branded names

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-04-06 09:19:00 +00:00
Matthieu Gallien
bc7e645e15
try to fix path inside appimage packages
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2022-03-23 17:35:39 +01:00
István Váradi
566a5e5465 Remove Hirsute, add Jammy
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2022-02-01 12:26:00 +00:00
Felix Weilbach
7e45dd9d14 Take branding for vfs plugins into account
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-11-10 15:13:25 +01:00
Thatoo
37a64ab19b upload-appimage.sh correction
Signed-off-by: Thatoo <thatoo@users.noreply.github.com>
2021-10-22 12:42:04 +02:00
Thatoo
3ab698a0c5 To allow auto update of AppImage package
Signed-off-by: Thatoo <thatoo@users.noreply.github.com>

docker image 4

Signed-off-by: Thatoo <thatoo@users.noreply.github.com>
2021-10-20 15:50:38 +02:00
Felix Weilbach
ae3d10d3a7 Use build-appimage.sh from Brander
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-10-04 12:51:17 +00:00
Felix Weilbach
88e7861239 Enable warnings as errors when compiling with Clang and GCC
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-09-17 13:32:26 +00:00
Felix Weilbach
332a48e6a1 Update to Qt 5.15
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-08-19 14:01:46 +02:00
Matthieu Gallien
65d22c08b7 put VFS plugins into the correct path
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-08-17 10:18:25 +00:00
István Váradi
e0697eefa0 Do not build for Groovy
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2021-07-28 14:46:55 +00:00
István Váradi
f69c595103 Use the full GPG key ID for signing Debian packages
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2021-06-24 12:01:29 +00:00
István Váradi
c27782279e Add building for Ubuntu Impish
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2021-06-21 17:23:34 +02:00
Felix Weilbach
3e3c124af1 Enable clazy in drone
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-06-17 09:47:00 +02:00
Felix Weilbach
d4b0273792 Generate application png icons from svg icons
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-06-14 10:14:28 +00:00
Felix Weilbach
db0f1e245d Remove NO_SHIBBOLETH flag and dead code
Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
2021-01-05 12:58:58 +01:00
István Váradi
dadc053809 Add support for Hirsute
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-12-22 10:19:08 +01:00
Kevin Ottens
a938e7d05f
Adjust the appimage script to the buildsystem changes
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-12-15 11:01:53 +01:00
István Váradi
3d9d5f2fe7 Handle the case when the release version differs from that in VERSION.cmake
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-11-30 15:33:34 +01:00
allexzander
0fdb423fe0 fix AppImage build by using v0.10.0 for qtkeychain
Signed-off-by: allexzander <blackslayer4@gmail.com>
2020-11-30 13:41:12 +02:00
Kevin Ottens
0e617d020f
Adjust AppImage build of QtKeychain to be found by cmake
Now that things are done in a more standard way, let's adjust the
AppImage build so that QtKeychain is picked up properly now that our
FindQt5Keychain.cmake file is gone.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-11-02 13:28:02 +01:00
István Váradi
cd303e313d Do not build for Eoan
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-08-21 18:54:56 +02:00
Kevin Ottens
14bfa5025f Make sure wget looks for the certificates at the right place
Might happen because we got too many copies of OpenSSL around

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-08-12 06:45:13 +00:00
Michael Schuster
6cc1aa723e
Update CI for Qt 5.12.9
Also remove the jq package installation from the AppImage build script because
the package is included in the new Docker image (see nextcloud/docker-ci#231).

Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-07-22 14:19:57 +02:00
Michael Schuster
b801a74281
Drone Upload: Fix if condition for master, in addition to #2213
Don't try to comment on master (old condition was from a previous version of the script).

Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-07-21 01:20:19 +02:00
Michael Schuster
c3f5a9b9cc
Drone: Upload AppImage to GitHub using nextcloud-desktop-bot
Uploading AppImage's to transfer.sh often fail and cause the CI to wait for
the 15 minutes timeout.

This new approach uses a bot user to create releases in a dedicated ci-builds
repository. Each PR (or master) will get a dedicated release with the AppImage
supplied as a release asset. Older assets will be deleted prior uploading the
recent build.

The bot will then (in case of a PR) create a comment in the PR, containing the
download link.

Home of the CI releases: https://github.com/nextcloud-desktop-bot/ci-builds/releases

Inspired by: https://github.com/nextcloud/android/blob/master/scripts/uploadArtifact.sh

Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-07-20 17:11:33 +02:00
István Váradi
69a37e10ce Fetch tags for Debian build
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-07-11 17:39:17 +02:00
Kevin Ottens
7f7dd6bc76 Upgrade to the latest client image
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-05-27 16:43:24 +02:00
István Váradi
81682b4cbe Do not build master for distributions without Qt 5.12
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-05-21 21:01:57 +02:00
Kevin Ottens
cd5db46036 Remove now unused files
Those files all refer to Qt version older than 5.12, also they seemed
unused for a while now.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-05-19 19:43:35 +02:00
István Váradi
697d303259 Do not build for Xenial anymore.
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-05-08 19:47:43 +02:00
István Váradi
4f3ea3ae66 Remove unnecessary Debian build files
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-05-04 16:40:26 +02:00
István Váradi
230b2f3781 Add Groovy build
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-04-27 19:20:40 +02:00
István Váradi
46c1d7f298 Allow specifying the base commit and version in the configuration file
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-04-27 19:20:30 +02:00
István Váradi
7b2de328a2 Change Debian build to the new more Debian-y way
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-04-27 19:19:04 +02:00
István Váradi
47824c104e
Merge pull request #1895 from ivaradi/debian-version
Debian versioning updates
2020-04-27 17:00:37 +02:00
István Váradi
8345d47cc5 Add Groovy-specific files
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2020-04-26 10:08:58 +02:00