Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ad6ba98db |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -25,6 +25,9 @@ vendor/
|
|||||||
go.work
|
go.work
|
||||||
go.work.sum
|
go.work.sum
|
||||||
|
|
||||||
|
# Local ReleaseKit delivery credentials
|
||||||
|
.releasekit/
|
||||||
|
|
||||||
# env file
|
# env file
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,12 @@ links, substituting the chosen tag in all three locations:
|
|||||||
Publish the intended `main` commit to `origin` before publishing its tag.
|
Publish the intended `main` commit to `origin` before publishing its tag.
|
||||||
The checked-in note supplies the complete hosted release body unchanged.
|
The checked-in note supplies the complete hosted release body unchanged.
|
||||||
|
|
||||||
|
For local delivery, supply `RELEASEKIT_GITEA_TOKEN` or place the token in the
|
||||||
|
ignored `.releasekit/gitea-token` file with owner-only permissions. A nonblank
|
||||||
|
environment value takes precedence. The profile rejects that file if committed;
|
||||||
|
keep credentials out of commits and logs. Source publication does not require
|
||||||
|
delivery credentials.
|
||||||
|
|
||||||
## Publish And Deliver
|
## Publish And Deliver
|
||||||
|
|
||||||
From the module root, substitute the selected version:
|
From the module root, substitute the selected version:
|
||||||
@@ -57,9 +63,13 @@ asynchronous and must be reported separately. The tag-triggered
|
|||||||
publication itself needs no delivery token. Keep the earlier
|
publication itself needs no delivery token. Keep the earlier
|
||||||
`GITEA_RELEASE_TOKEN` secret for historical tagged workflows.
|
`GITEA_RELEASE_TOKEN` secret for historical tagged workflows.
|
||||||
|
|
||||||
For delivery retries and partial or unknown outcomes, follow the upstream
|
For a delivery retry, use a clean checkout at the existing tag's commit and run
|
||||||
[delivery guide][delivery] and retain original build artifacts where rebuilding
|
`sh ./releasekit deliver VERSION` with a delivery credential. Older tagged
|
||||||
could change bytes. Runtime version behavior is described by the
|
profiles that lack `token_file`, including v0.16.0, require the environment
|
||||||
|
variable; the local token file is not selected automatically in those checkouts.
|
||||||
|
For partial or unknown outcomes, follow the upstream [delivery guide][delivery]
|
||||||
|
and retain original build artifacts where rebuilding could change bytes. Runtime
|
||||||
|
version behavior is described by the
|
||||||
[runtime version guide][runtime].
|
[runtime version guide][runtime].
|
||||||
|
|
||||||
[adoption]: https://forge.maximumdirect.net/base-layer/releasekit/src/commit/82bac1a3ab935beddd4b8789d1e07f52135d4243/docs/consumers/adoption.md
|
[adoption]: https://forge.maximumdirect.net/base-layer/releasekit/src/commit/82bac1a3ab935beddd4b8789d1e07f52135d4243/docs/consumers/adoption.md
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"product": "Scriptorium",
|
"product": "Scriptorium",
|
||||||
"remote": "origin",
|
"remote": "origin",
|
||||||
"validation": {
|
"validation": {
|
||||||
|
"forbidden_files": [".releasekit/gitea-token"],
|
||||||
"go": {
|
"go": {
|
||||||
"race": true
|
"race": true
|
||||||
}
|
}
|
||||||
@@ -16,6 +17,7 @@
|
|||||||
"base_url": "https://forge.maximumdirect.net",
|
"base_url": "https://forge.maximumdirect.net",
|
||||||
"owner": "eric",
|
"owner": "eric",
|
||||||
"repository": "scriptorium",
|
"repository": "scriptorium",
|
||||||
"token_env": "RELEASEKIT_GITEA_TOKEN"
|
"token_env": "RELEASEKIT_GITEA_TOKEN",
|
||||||
|
"token_file": ".releasekit/gitea-token"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user