Add ReleaseKit profile and launcher
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -25,6 +25,7 @@
|
||||
|
||||
# Go cache
|
||||
.gocache
|
||||
/dist/
|
||||
|
||||
# Go workspace file
|
||||
go.work
|
||||
|
||||
@@ -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`.
|
||||
|
||||
5
releasekit
Executable file
5
releasekit
Executable file
@@ -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 "$@"
|
||||
26
releasekit.json
Normal file
26
releasekit.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user