- Coerce Cockatrice release tags (YYYY-MM-DD-Release-X.Y.Z) to semver
so npm version accepts them; hard-fail on tag-format drift.
- Replace hand-rolled npm publish with JS-DevTools/npm-publish@v4
for native skip-when-unchanged and OIDC provenance.
- Drop redundant publish flag and workflow_dispatch version input.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Replace the custom Node packaging script with a flat inline step
(cp the .proto glob, cp the static files, npm version) so the
workflow speaks the same shell idiom as the other workflows.
- Promote package.json and README.md to static files under
libcockatrice_protocol/npm/ so contributors edit them in-place.
- Re-format libcockatrice_protocol/CMakeLists.txt per .cmake-format.json.
- Add workflow_dispatch (manual run; optional version input) and
timeout-minutes: 10.
- Drop --provenance from npm publish: GitHub Packages doesn't
attest Sigstore provenance.
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.
The webclient has been extracted to https://github.com/seavor/Webatrice
and the Playwright e2e suite has moved to Sockatrice. Cockatrice keeps
no copy.
Deleted:
- webclient/ (entire tree, 349 files)
- .github/workflows/web-build.yml, web-lint.yml
- .husky/pre-commit (the only tracked husky hook; managed entirely
from webclient's package.json which no longer exists)
Edited:
- .tx/config: dropped the webclient resource block; Webatrice/.tx/config
now manages its own translations
- .github/workflows/translations-pull.yml: removed webclient locales
from add-paths
- .github/workflows/desktop-build.yml, desktop-lint.yml: removed dead
'!webclient/**' and '!.husky/**' path-filter exclusions
- .github/dependabot.yml: removed commented-out npm/webclient block
- Doxyfile: removed webclient/ from EXCLUDE list
- .ci/release_template.md: dropped Webatrice section (Webatrice now
cuts its own releases)
- README.md: dropped 'first work on a webclient' line, added Webatrice
to Related Repositories, updated translation paragraph and build
badges
History preserved: every webclient commit remains recoverable via
git log on master before this commit.
* Use Qt 6.10.*
Took 3 hours 1 minute
* Remove workaround.
Took 10 minutes
* Pin to 6.11.0 for now.
Took 3 minutes
* Revert "Remove workaround."
This reverts commit 71584d1e50.
Took 4 seconds
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
* add ccache eviction for files older than 7 days
also clean up some of the scripts to be more internally consistent
* move name build into the docker container again
* remove one extra empty line [skip ci]
* allow canceling concurrent builds on master for both desktop and docker
* add ccache eviction age to macos as well
* build: use qt 6.8.* LTS in Windows 10 and macOS
* bump msvc
* bump to 6.10
* reset style to the default instead of the first key
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* ci: strip fat qt binaries
* parallelize
* cache thin qt
* print libs
* change qt install dir in the action
* move qt install logic to separate job
* lookup only
* debug: show contents of QTDIR
* enableCrossOsArchive also when saving
* check one dir up
* change install dir
* keep debugging
* try deleting cache
* force delete cache
* pass gh_token
* pass missing params
* use api
* change cache key, disable cross os archive
* move job directly to steps
* add comments
* set cache param directly
* address comments
* fixup
* Update .ci/thin_macos_qtlib.sh
* resolve qt version
* move resolution to separate script
* use single line for run:
* improve error handling in new scripts
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* compile in debug mode on ubuntu 22.04
* Update card_info_display_widget.cpp
Use c++ instead of c-style cast
---------
Co-authored-by: BruebachL <44814898+BruebachL@users.noreply.github.com>