halkyon/apps/train/release.dart
Tizian 「ティツィアーン」 a29ad45ef1
Some checks failed
CI / check (push) Has been cancelled
build: the organisation on code.halkyon.app is halkyon-days
ADR 0045, D12, step 1: project-halkyon was renamed halkyon-days, its
repositories keeping their names. Every URL naming it moves along: the
servers' source-code links, which the AGPL requires, and their tests;
the forks in the pubspecs and the lock (appflowy-editor, pure-zstd,
serverpod-offline-sync); the snaps, the F-Droid listings and the
release configurations; the docs. The curator's credit for the
alphabets names the repository by its name since ADR 0015, halkyon,
rather than halkyon_learn. Forgejo redirects the old addresses until
the name is taken again.

ADRs 0015 and 0039 keep the name they were written with, and the local
folders theirs.

halkyon_editor's gen-l10n caches under build/, committed before its
.gitignore named the folder, are no longer tracked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-12 16:30:46 +01:00

44 lines
1.9 KiB
Dart

// How Halkyon Train is released (`dart run tool/release.dart train`): the
// release tool's configuration of it, registered in tool/src/release/apps.dart.
import '../../tool/src/release/app_release.dart';
/// Halkyon Train's releases: the APK alone (Train is Android's: Health
/// Connect, the recorder's foreground service, the Polar Loop), connecting
/// to train.halkyon.eu, published on code.halkyon.app and in the project's
/// F-Droid repository beside Learn.
const trainRelease = AppRelease(
id: 'train',
name: 'Halkyon Train',
applicationId: 'app.halkyon.train',
directory: 'apps/train',
flutterPackage: 'apps/train/halkyon_train_flutter',
artifactName: 'halkyon-train',
serverUrl: 'https://train.halkyon.eu/',
forgejo: 'https://code.halkyon.app',
repository: 'halkyon-days/halkyon',
// A PKCS #12 keystore of its own outside the repository (also in the
// maintainer's password manager), as Learn's: it is the app's identity, and
// lost, installed apps can't be updated.
android: AndroidSigning(
certificateFile: 'tool/release/train-android-certificate.sha256',
keystoreVariable: 'HALKYON_TRAIN_ANDROID_KEYSTORE',
defaultKeystore: '.local/share/halkyon-train/android-release.p12',
aliasVariable: 'HALKYON_TRAIN_ANDROID_KEY_ALIAS',
defaultAlias: 'halkyon-train',
),
fdroid: FdroidListing(
script: 'tool/fdroid_repo.sh',
listing: 'tool/release/fdroid',
indexCertificateFile: 'tool/release/fdroid-index-certificate.sha256',
repositoryUrl: 'https://halkyon.app/fdroid/repo',
),
// The desktop's Train (ADR 0030, D62), built in a clone of its own as
// Todo's (`SnapRelease.projectPath`), the root's snap/ being Learn's; to the
// Store's edge channel, its name registered on 3 Oct 2026.
snap: SnapRelease(
name: 'halkyon-train',
part: 'halkyon-train',
directory: 'apps/train/snap',
storeChannel: 'edge',
),
);