build: add make publish to release a version on Gitea with its bundle
Releases on Gitea had nothing to install, so getting remus onto a Steam machine meant building the bundle and copying it across by hand. After a bump and a push with tags, make publish builds the Flatpak bundle for the tagged commit and creates the release, with the changelog entry as its notes and remus-X.Y.Z.flatpak attached. Every check runs before the slow build: a clean tree, HEAD tagged with the Cargo.toml version, a token, the same tag on the remote and no release for it yet. The token is read from GITEA_TOKEN or ~/.config/gitea/token and passed to curl in a header file, so it is never on a command line. If the upload fails, the release is deleted so the next run starts clean.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
</supports>
|
||||
<content_rating type="oars-1.1"/>
|
||||
<releases>
|
||||
<release version="0.4.0" date="2026-11-04"/>
|
||||
<release version="0.3.0" date="2026-11-04"/>
|
||||
<release version="0.2.1" date="2026-11-04"/>
|
||||
<release version="0.2.0" date="2026-11-04"/>
|
||||
|
||||
Reference in New Issue
Block a user