Open timwaters opened 6 months ago
This is probably because this the CI checkout does not include tags.
It's worth noting that we've had packaging issues with deb since forever. Now that I'm looking at this: deb packaging generates way more problems than it needs to. We shouldn't ever have been packaging Chatterino for Ubuntu ourselves. Nevertheless I'll get my Ubuntu stuff back up to fix this crap.
Update(2024-04-21 23:00:00Z): This is caused by permissions being fucked in the directory. Git doesn't like the checkout directory being owned by a different UID or something like that apparently.
The stuff with not including tags should already be handled by the fetch-depth: 0 option we've specified for the actions/checkout action inside the workflow file, so I guess there is something else too. But we could try setting fetch-tags to true additionally (https://github.com/actions/checkout/blob/main/README.md).
(Also the size of the new 2.5.0 file is significantly larger: 11.4mb compared to 3.4mb for a v2.4 deb file which worried me a little when this didnt install but I guess this is intentional, extra icons etc)
We now statically link to Qt & Boost - this is what has caused the file size increase
https://github.com/Chatterino/docker is the repo that contains the two docker images we use to build Chatterino here (the readme is bad, the github workflow in the main c2 repo actually show how they can be used)
Checklist
Describe your issue
When trying to install a download of https://github.com/Chatterino/chatterino2/releases/download/v2.5.0/Chatterino-Ubuntu-22.04.deb on Ubuntu 23.10 it gives the warning:
dpkg: warning: downgrading chatterino from 2.4.5 to 0.0.0-dev
The version given in the deb file is 0.0.0-dev
(Also the size of the new 2.5.0 file is significantly larger: 11.4mb compared to 3.4mb for a v2.4 deb file which worried me a little when this didnt install but I guess this is intentional, extra icons etc)
Screenshots
No response
OS and Chatterino Version
Chatterino 2.4.4 Running on Ubuntu 23.10