Cockatrice/.github/workflows
ZeldaZach cc4a53b850
[Protocol] Single-source-of-truth protocol version + publish @cockatrice/protocol
The protocol version is now declared once in libcockatrice_protocol/protocol_version.json.
CMake reads it at configure time and emits a generated protocol_version.h exposing
COCKATRICE_PROTOCOL_VERSION; remote_client.cpp and serversocketinterface.cpp both
pick it up via the existing libcockatrice_protocol link.

The same JSON file is bundled into a new @cockatrice/protocol npm package
(scripts/package-protocol.mjs + .github/workflows/protocol-publish.yml) so
TypeScript consumers (Sockatrice/webclient) can derive PROTOCOL_VERSION from the
identical source instead of hand-typing the literal. The workflow dry-runs
npm pack on PRs and publishes to GitHub Packages on stable releases only.
2026-05-23 13:00:05 -04:00
..
desktop-build.yml Drop builds for Debian 11 and Ubuntu 22.04 (#6643) 2026-05-09 00:28:03 +02:00
desktop-lint.yml Remove webclient (extracted to Webatrice repo) (#6848) 2026-05-08 09:14:53 -04:00
docker-release.yml add annotations level (#6840) 2026-04-30 23:51:53 +02:00
documentation-build.yml CI: Update trigger for doc builds (#6871) 2026-05-13 14:54:47 +02:00
protocol-publish.yml [Protocol] Single-source-of-truth protocol version + publish @cockatrice/protocol 2026-05-23 13:00:05 -04:00
translations-pull.yml Remove webclient (extracted to Webatrice repo) (#6848) 2026-05-08 09:14:53 -04:00
translations-push.yml CI: Use ubuntu-slim for simple jobs (#6798) 2026-04-19 02:47:14 +02:00