Oore CI
CLI

`oore notes`

Read, write and draft the release notes of an app version.

oore notes show  --project <ID> --version <VERSION> [--json]
oore notes set   --project <ID> --version <VERSION> (--text TEXT | --file PATH)
                 [--locale LOCALE=PATH]... [--json]
oore notes draft --project <ID> --version <VERSION> [--json]

Release notes belong to an app version, such as 2.5.1 from pubspec.yaml, and every build of that version shares them. See Release notes and changes. Each subcommand takes --daemon-url and --token like oore build run and needs a signed-in session.

SubcommandEffect
showPrint the notes, where they came from, and each other language. Fails with HTTP 404 when the version has none yet.
setSave the notes. Needs upload access to the project. Refused with notes_in_repository when they come from a file in the repository.
draftPrint notes drafted from the commit titles since the last released version. Nothing is saved.
OptionEffect
--project IDThe project the app belongs to. Required.
--version VERSIONThe app version without the +build number. Required.
--text TEXTset: the notes in the default language.
--file PATHset: read the notes from a file, or from standard input with -.
--locale LOCALE=PATHset: notes in another language from a file. Repeat for several; replaces the saved languages.
--jsonPrint the daemon’s response as JSON.
oore notes draft --project proj_123 --version 2.5.1 > notes.txt
# edit notes.txt
oore notes set --project proj_123 --version 2.5.1 --file notes.txt
Saved the release notes for 2.5.1. Every build of it, and its next store upload or promotion, uses them.