Thanks to this document, and a quick look at nautilus’s git repo I was able to automatically generate fresh flatpaks directly from GitLab by using the integrated CI/CD system.
My current setup isn’t perfect but it manages to automate flatpak builds. This is incredibly useful, as when people open issues and I try to fix them, I can just tell them to install the lastest flatpak from the CI/CD and test the fixes.
Also, for power users and curious minds I imagine it could be compelling to be able to install the latest development snapshot without jumping through many hoops.
Anyway, let’s get down to business, here’s the .gitlab-ci.yml file to let the magic happen: