From d35c486424436946b3aff319ff676d15213b03d2 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sat, 21 Nov 2026 06:10:36 +0100 Subject: [PATCH] build(packaging): make the first release 0.0.0 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 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 --- implementations/nostro-app.cpp | 2 +- packaging/flatpak/net.catcrafts.Nostro.metainfo.xml | 2 +- project.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/implementations/nostro-app.cpp b/implementations/nostro-app.cpp index b5d5d67..3509616 100644 --- a/implementations/nostro-app.cpp +++ b/implementations/nostro-app.cpp @@ -19,7 +19,7 @@ #include -// The version comes from the build as bare text, NOSTRO_VERSION=0.1.0, which this makes a string of. +// The version comes from the build as bare text, NOSTRO_VERSION=0.0.0, which this makes a string of. #define NOSTRO_TEXT_OF(text) #text #define NOSTRO_TEXT(text) NOSTRO_TEXT_OF(text) diff --git a/packaging/flatpak/net.catcrafts.Nostro.metainfo.xml b/packaging/flatpak/net.catcrafts.Nostro.metainfo.xml index b2e8b3a..74be462 100644 --- a/packaging/flatpak/net.catcrafts.Nostro.metainfo.xml +++ b/packaging/flatpak/net.catcrafts.Nostro.metainfo.xml @@ -34,7 +34,7 @@ - +

The first release: everything the nostro command does, in a window that fits a phone and a desktop.

    diff --git a/project.cpp b/project.cpp index 4c59481..81aafd1 100644 --- a/project.cpp +++ b/project.cpp @@ -393,7 +393,7 @@ extern "C" Configuration CrafterBuildProject(std::span 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");