Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/rpg-runtime/verify-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from pathlib import Path


TAG = re.compile(r"^rpg-runtime-gae2602f1f83c-r[1-9][0-9]*(-rc\.[1-9][0-9]*)?$")
TAG = re.compile(r"^retrom-core-gae2602f1f83c-r[1-9][0-9]*(-rc\.[1-9][0-9]*)?$")
COMMIT = re.compile(r"^[0-9a-f]{40}$")
BASELINE = "ae2602f1f83ca70d69b1ca8e66eb336141fe2a16"

Expand All @@ -37,7 +37,7 @@ def main() -> int:
args = parser.parse_args()
if TAG.fullmatch(args.tag) is None or COMMIT.fullmatch(args.commit) is None:
raise SystemExit("RPG_RUNTIME_RELEASE_IDENTITY_INVALID")
if args.repository != "https://github.com/xxxsen/Butterscotch":
if args.repository != "https://github.com/retrom-project/Butterscotch":
raise SystemExit("RPG_RUNTIME_RELEASE_REPOSITORY_INVALID")

names = [
Expand Down
4 changes: 2 additions & 2 deletions .github/rpg-runtime/verify-source.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def main() -> int:
manifest = json.loads((ROOT / "retrom-fork.json").read_text(encoding="utf-8"))
expected = {
"schemaVersion": 1,
"forkRepository": "https://github.com/xxxsen/Butterscotch",
"forkRepository": "https://github.com/retrom-project/Butterscotch",
"defaultBranch": "retrom/gae2602f1f83c",
"upstreamMirrorBranch": "main",
"upstreams": [{
Expand All @@ -32,7 +32,7 @@ def main() -> int:
"commit": BASELINE,
}],
"releaseTagPattern": (
r"^rpg-runtime-gae2602f1f83c-r[1-9][0-9]*"
r"^retrom-core-gae2602f1f83c-r[1-9][0-9]*"
r"(-rc\.[1-9][0-9]*)?$"
),
"adapterAbi": "butterscotch-checkpoint-v2",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rpg-runtime-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
python3 .github/rpg-runtime/verify-release.py \
--output "$RUNNER_TEMP/rpg-runtime-output" \
--repository "https://github.com/$GITHUB_REPOSITORY" \
--tag rpg-runtime-gae2602f1f83c-r1-rc.1 \
--tag retrom-core-gae2602f1f83c-r1-rc.1 \
--commit "$GITHUB_SHA"
- name: Upload branch integration candidate
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rpg-runtime-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: RPG Runtime Release

on:
push:
tags: ["rpg-runtime-gae2602f1f83c-r*"]
tags: ["retrom-core-gae2602f1f83c-r*"]

permissions:
contents: write
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Validate release identity
run: |
set -euo pipefail
[[ "$GITHUB_REF_NAME" =~ ^rpg-runtime-gae2602f1f83c-r[1-9][0-9]*(-rc\.[1-9][0-9]*)?$ ]]
[[ "$GITHUB_REF_NAME" =~ ^retrom-core-gae2602f1f83c-r[1-9][0-9]*(-rc\.[1-9][0-9]*)?$ ]]
git fetch --force origin \
"refs/tags/$GITHUB_REF_NAME:refs/tags/$GITHUB_REF_NAME"
test "$(git cat-file -t "refs/tags/$GITHUB_REF_NAME")" = tag
Expand Down
6 changes: 4 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Retrom Butterscotch fork maintenance rules

This fork builds the GameMaker: Studio browser runner consumed by
`xxxsen/retrom-runtime`. It remains independent of Retrom application APIs,
`retrom-project/retrom-runtime`. It remains independent of Retrom application APIs,
databases, review workflows, credentials, and private games.

## Repository identity
Expand Down Expand Up @@ -58,9 +58,11 @@ databases, review workflows, credentials, and private games.
`.github/rpg-runtime/verify-release.py` with a valid candidate identity.
- PRs to `retrom/gae2602f1f83c` must pass
`.github/workflows/rpg-runtime-quality.yml`.
- Release tags are `rpg-runtime-gae2602f1f83c-rN`, with optional `-rc.N` only
- Release tags are `retrom-core-gae2602f1f83c-rN`, with optional `-rc.N` only
for integration candidates. Increment `rN` for any source, build, asset, or
adapter-contract change on this baseline.
- Existing `rpg-runtime-*` tags are immutable historical records. Never create
another tag in that retired namespace.
- Tags are annotated and immutable. The tag workflow is the only supported way
to build and publish the Web assets and `rpg-runtime-release.json`; never
publish aliases such as `latest` or `stable`.
Expand Down
4 changes: 2 additions & 2 deletions retrom-fork.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"forkRepository": "https://github.com/xxxsen/Butterscotch",
"forkRepository": "https://github.com/retrom-project/Butterscotch",
"defaultBranch": "retrom/gae2602f1f83c",
"upstreamMirrorBranch": "main",
"upstreams": [
Expand All @@ -12,7 +12,7 @@
"commit": "ae2602f1f83ca70d69b1ca8e66eb336141fe2a16"
}
],
"releaseTagPattern": "^rpg-runtime-gae2602f1f83c-r[1-9][0-9]*(-rc\\.[1-9][0-9]*)?$",
"releaseTagPattern": "^retrom-core-gae2602f1f83c-r[1-9][0-9]*(-rc\\.[1-9][0-9]*)?$",
"adapterAbi": "butterscotch-checkpoint-v2",
"releaseAssets": [
"butterscotch.mjs",
Expand Down
Loading