Add the native release profile and launcher
This commit is contained in:
@@ -78,6 +78,9 @@ verification belongs to Stage 7.
|
||||
|
||||
## Stage 2: Add The Native Profile And Thin Launcher
|
||||
|
||||
**Status: Complete.** The profile selects the requested destination and one
|
||||
target; launcher syntax, version, usage failure, and credential ignore were checked.
|
||||
|
||||
**Goal:** Provide the complete native configuration and one small tool entry point.
|
||||
|
||||
Inspect the selected upstream `docs/config.md`, adoption guide, build guide,
|
||||
|
||||
17
releasekit.json
Normal file
17
releasekit.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"product": "Notarius",
|
||||
"remote": "origin",
|
||||
"build": {
|
||||
"main_package": "./cmd/notarius",
|
||||
"binary_name": "notarius",
|
||||
"targets": ["linux/amd64"]
|
||||
},
|
||||
"delivery": {
|
||||
"forge": "gitea",
|
||||
"base_url": "https://forge.maximumdirect.net",
|
||||
"owner": "eric",
|
||||
"repository": "notarius",
|
||||
"token_env": "RELEASEKIT_GITEA_TOKEN",
|
||||
"token_file": ".releasekit/gitea-token"
|
||||
}
|
||||
}
|
||||
6
scripts/releasekit
Executable file
6
scripts/releasekit
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
cd "$(dirname "$0")/.." || exit $?
|
||||
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 "$@"
|
||||
Reference in New Issue
Block a user