Fix publication on apertis branches
This MR makes sure commits pushed to apertis/*
branches get published in the main flatpak repo.
It also makes the version argument mandatory for generate-files.sh
so we don't accidentally publish to the default version repo.