main/ holds the main window and top bar, quiz/ the quiz and its parts, player/ the music player, popups/ every popup and what they share, data/ the songs, players, playlist and settings, server/ the MusicServer client, common/ the list row and GameLog, and themes/ the themes and style boxes.
1.3 KiB
1.3 KiB
Releasing
Releases are made from the version in project.godot
(Project > Project Settings > Application > Config > Version). The game shows the
same version in the About window.
- Bump the version, e.g. from
1.9.0to1.10.0, and add aWHATS_NEWentry inpopups/about_popup.gd. - Merge to
mainand push.
The Build workflow (.gitea/workflows/gitea-build.yaml) then:
- runs the tests,
- exports the Windows and Linux builds, and packages Linux as
MusicPlayer_<version>_linux.tar.gzwith the icon, an app menu entry andinstall.sh(Linux programs can't carry their own icon the way a Windows .exe does), - if no tag exists for the version yet: uploads the builds to the package registry
under
MusicPlayer/<version>/, and creates the<version>tag and Gitea release with the builds attached.
Pushes that don't change the version, and pushes to develop, only test and export.
Don't create tags or 1.x.y branches by hand; the workflow makes the tag.
Installing on Linux
Unpack MusicPlayer_<version>_linux.tar.gz and run ./install.sh inside the
MusicPlayer folder. It installs the game to ~/.local/bin and adds it, with its icon,
to the app menu. The bare MusicPlayer_<version>.x86_64 is still published for anyone
who just wants to run the file.