Fix release publishing and add a CI token fallback
Tag builds since v0.2.2 built all artifacts but never published a release:
- tools/publish_release.sh only assembled AUTH in the GITEA_TOKEN branch; the
~/.git-credentials branch set CRED and then used an unbound ${AUTH[@]} under
`set -u`, so every API call failed and the job ended "could not create or find
release". It now sets AUTH=(-u "$CRED").
- The repo has no GITEA_TOKEN secret and the runner has no git credentials, so the
workflow now falls back to the built-in workflow token:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN || github.token }}.
v0.2.9 was then built and published locally with all five artifacts (portable
Linux/Windows/macOS, NSIS installer, AppImage) and the release page verified via
the API. v0.2.4-v0.2.8 remain unpublished; they are superseded by the latest.
Docs
- docs/RELEASING.md records the incident and the local-publish fallback.
- TODO gains a release-pipeline follow-up (verify CI on the next tag).
- MEMORY notes the root cause, the missing secret, and which releases exist.
- Version 0.2.10.
This commit is contained in:
1 parent
3f4ac7e9aa
commit
6684d36739
16 files changed
+110
-85
No files matched your search
@@ -28,6 +28,9 @@ for l in open(os.path.expanduser('~/.git-credentials')):
|
||||
echo "error: no credentials for $HOST in ~/.git-credentials" >&2
|
||||
exit 1
|
||||
fi
|
||||
# curl basic auth. (Previously only CRED was set, so ${AUTH[@]} was unbound
|
||||
# under `set -u` and every API call failed silently.)
|
||||
AUTH=(-u "$CRED")
|
||||
else
|
||||
echo "error: set GITEA_TOKEN or provide ~/.git-credentials" >&2
|
||||
exit 1
|
||||
|
||||
@@ -105,20 +105,20 @@ SCREENS = [
|
||||
"name": "targeting_npc",
|
||||
"kind": "scene",
|
||||
"title": "Targeting an NPC",
|
||||
"source": "README screenshot 02 · ADR-0008 cone focus + head ring",
|
||||
"source": "README screenshot 02 · ADR-0008 cone focus + focus circle",
|
||||
"ref": "02-targeting-npc.png",
|
||||
"description": "An approaching NPC is in the focus cone: a thin pale-gold "
|
||||
"ring billboards around their head, a display name under "
|
||||
"the ring, and the HUD shows a target line with the "
|
||||
"interaction hint.",
|
||||
"description": "An approaching NPC is in the focus cone: a blue "
|
||||
"semi-transparent circle in front of their face, a display "
|
||||
"name under the circle, and the HUD shows a target line "
|
||||
"with the interaction hint.",
|
||||
"prompt": (
|
||||
"Realistic 3D first-person game scene: a friendly pedestrian "
|
||||
"standing on a city sidewalk, a thin pale-gold ring floating around "
|
||||
"their head as a game selection marker, a small name label under the "
|
||||
"ring, minimal HUD target text at the bottom, daytime"),
|
||||
"standing on a city sidewalk, a blue semi-transparent circle in front "
|
||||
"of their face as a game selection marker, a small name label under "
|
||||
"the circle, minimal HUD target text at the bottom, daytime"),
|
||||
"regions": [
|
||||
(0.35, 0.15, 0.65, 0.60, "NPC in focus"),
|
||||
(0.44, 0.10, 0.56, 0.16, "head ring"),
|
||||
(0.44, 0.10, 0.56, 0.16, "face circle"),
|
||||
(0.05, 0.85, 0.95, 0.95, "HUD: name + hint"),
|
||||
],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user