build(packaging): make the first release 0.0.0
All checks were successful
Flatpak / check (push) Has been skipped
Flatpak / publish (push) Successful in 6m51s

The first release, which is also the first run of the workflow's publish
job, goes out as 0.0.0 and not as 0.1.0, as imsd-messages' first did.
NOSTRO_VERSION in project.cpp and the newest <release> of the app's
metainfo say so, the entry dated today, and the comment in nostro-app.cpp
that quotes the define follows.

packaging/flatpak/release-version.sh prints 0.0.0 for the tree and renders
the entry's notes, appstreamcli validates the metainfo, and the app builds
with the version in it. The Arch package of the system files keeps its own
pkgver.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Jorijn van der Graaf 2026-11-21 06:10:36 +01:00
commit d35c486424
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB
3 changed files with 3 additions and 3 deletions

View file

@ -393,7 +393,7 @@ extern "C" Configuration CrafterBuildProject(std::span<const std::string_view> a
app.outputName = "nostro-app";
app.defines = defines;
// What the app says its version is: the metainfo's release is the same.
app.defines.push_back({"NOSTRO_VERSION", "0.1.0"});
app.defines.push_back({"NOSTRO_VERSION", "0.0.0"});
ApplyStandardArgs(app, args);
app.dependencies = { library, ui, appCore, shell };
app.files.push_back("assets/NotoSans-Regular.ttf");