From 7ab594bc8b524fc643424522730207bbbba022d4 Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Mon, 23 Nov 2026 18:13:25 +0000 Subject: [PATCH] Add ReleaseKit profile and launcher --- .gitignore | 1 + docs/roadmap/implementation.md | 4 +++- releasekit | 5 +++++ releasekit.json | 26 ++++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100755 releasekit create mode 100644 releasekit.json diff --git a/.gitignore b/.gitignore index d902f4c..4410e95 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ # Go cache .gocache +/dist/ # Go workspace file go.work diff --git a/docs/roadmap/implementation.md b/docs/roadmap/implementation.md index f5ad05f..1bb4fba 100644 --- a/docs/roadmap/implementation.md +++ b/docs/roadmap/implementation.md @@ -96,7 +96,9 @@ CLI tool is retained by the module metadata. ## Stage 2 — Define the profile and minimal native launcher -Status: pending. +Status: completed. Added the selected profile, host-target launcher, and dist +ignore rule. Shell syntax and normal and cross-target launcher invocations +passed; both reported ReleaseKit v0.10.0. Read the roadmap's release selections, upstream adoption and profile references, and `.gitignore`. diff --git a/releasekit b/releasekit new file mode 100755 index 0000000..48056a9 --- /dev/null +++ b/releasekit @@ -0,0 +1,5 @@ +#!/bin/sh +releasekit_host_os=$(go env GOHOSTOS) || exit $? +releasekit_host_arch=$(go env GOHOSTARCH) || exit $? +export GOOS="$releasekit_host_os" GOARCH="$releasekit_host_arch" +exec go tool go.maximumdirect.net/releasekit/cmd/releasekit "$@" diff --git a/releasekit.json b/releasekit.json new file mode 100644 index 0000000..73a2f44 --- /dev/null +++ b/releasekit.json @@ -0,0 +1,26 @@ +{ + "product": "Narratio", + "remote": "origin", + "validation": { + "go": { + "race": true, + "full_vet": true + }, + "go_format": true, + "module_distribution": { + "local_replacements": true + } + }, + "build": { + "main_package": "./cmd/narratio", + "binary_name": "narratio", + "targets": ["linux/amd64", "linux/arm64", "darwin/arm64"] + }, + "delivery": { + "forge": "gitea", + "base_url": "https://forge.maximumdirect.net", + "owner": "eric", + "repository": "narratio", + "token_env": "RELEASEKIT_GITEA_TOKEN" + } +}