Restore direct rulebook PDF link on BGS

This commit is contained in:
coyotte508 2026-10-12 15:21:40 +02:00
commit 9e2d3269a2
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{
"rules": "[English rules — final print version (WizKids)](https://boardgamegeek.com/filepage/207320/complete-english-rulebook)",
"rules": "[Rules](https://wizkids.com/posters/repository/wizkids/Clash-of-Cultures---Rulebook---WEB---2021-02-05-compressed.pdf)",
"links": {
"bgg": "https://boardgamegeek.com/boardgame/299659/clash-of-cultures-monumental-edition"
}

View file

@ -1,6 +1,6 @@
# Publishing the viewer
Reference links are declared in `bgs-reference-links.json`. Run `node scripts/update-reference-links.mjs --dry-run` to inspect them and omit `--dry-run` to update BGS metadata without uploading a viewer or engine. The script preserves other links, saves a metadata backup, and verifies the rules, links, engine, and viewer after updating. The English rules link points to WizKids' BGG upload: choose the September 30, 2021 final-print file (February 26 PDF), rather than the older February 5 PDF. The BGG game link uses Monumental Edition.
Reference links are declared in `bgs-reference-links.json`. Run `node scripts/update-reference-links.mjs --dry-run` to inspect them and omit `--dry-run` to update BGS metadata without uploading a viewer or engine. The script preserves other links, saves a metadata backup, and verifies the rules, links, engine, and viewer after updating. The English rules link opens WizKids' February 5 PDF directly, as requested, instead of a BGG download page. The BGG game link uses Monumental Edition.
Upload both `web-client/dist/viewer.js` and `web-client/dist/server_bg.wasm`. `npm run publish:bgs` now uploads and verifies the whole build before switching the viewer.