46 lines
1.5 KiB
Plaintext
46 lines
1.5 KiB
Plaintext
TTRPG Release folder
|
|
|
|
====================
|
|
|
|
|
|
|
|
RECOMMENDED WORKFLOW (same version on all platforms)
|
|
|
|
----------------------------------------------------
|
|
|
|
|
|
|
|
1) bump-version.cmd
|
|
|
|
OR in project: npm version patch --no-git-tag-version
|
|
|
|
|
|
|
|
2) On Mac: npm ci && npm run build && npm run pack:mac
|
|
|
|
Copy to D:\TTRPG-Release:
|
|
|
|
latest-mac.yml, TTRPGPlayer-x64.zip, TTRPGPlayer-arm64.zip (+ dmg optional)
|
|
|
|
|
|
|
|
3) release-all.cmd
|
|
|
|
- does NOT bump version (default -AfterMac)
|
|
|
|
- checks Mac files match package.json version
|
|
|
|
- builds Windows + Linux, copies artifacts, publishes to updates.mailib.ru
|
|
|
|
|
|
|
|
LEGACY (Win/Linux ahead of Mac)
|
|
|
|
-------------------------------
|
|
|
|
release-all-bump.cmd - bumps patch in script, build Win/Linux, publish with -SkipMac or add Mac later
|
|
|
|
|
|
|
|
SCRIPTS
|
|
|
|
-------
|
|
|
|
release-all.cmd prepare + publish (-AfterMac by default)
|
|
|
|
prepare-release.cmd build Win/Linux only
|
|
|
|
publish.cmd upload only (-SkipMac if no Mac)
|
|
|
|
bump-version.cmd patch version in package.json only
|
|
|
|
|
|
|
|
prepare-release flags:
|
|
|
|
-AfterMac no bump, require Mac files in this folder (default via release-all)
|
|
|
|
-Bump bump patch then build
|
|
|
|
-SkipGit -SkipLinux -NoBump -Version X.Y.Z -Minor
|
|
|
|
|
|
|
|
publish flags:
|
|
|
|
-SkipMac -CheckOnly
|
|
|
|
|
|
|
|
CONFIG
|
|
|
|
------
|
|
|
|
release-config.json - project path, release path, git, WSL
|
|
|
|
publish-config.json - SSH upload settings
|
|
|
|
|
|
|
|
Requires: Node.js 20+, git, OpenSSH, WSL+nvm for Linux.
|
|
|
|
|
|
|
|
Doc: TTRPG-Release-Instructions.docx
|
|
|