chore: migrate production URLs to ttrpgplayer.ru (v1.0.24)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,45 +1,90 @@
|
||||
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
|
||||
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.ttrpgplayer.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
|
||||
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
"sshKey": "%USERPROFILE%\\.ssh\\ttrpg_updates_root",
|
||||
"sshTarget": "root@185.173.94.234",
|
||||
"remoteDir": "/var/www/updates_mailib_ru",
|
||||
"feedUrl": "https://updates.mailib.ru/"
|
||||
"feedUrl": "https://updates.ttrpgplayer.ru/"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user