CnCNet Yuri's Revenge Build Instructions - CnCNet/cncnet-yr-client-package GitHub Wiki
Build & Package Workflow
Follow Steps 1-5 replacing game-client-package
with cncnet-yr-client-package
Updating the Yuris Revenge Package:
-
Make new draft release on github:
- Go to https://github.com/CnCNet/cncnet-yr-client-package/releases and click 'Draft a New Release'
-
Increment or choose a new tag:
- Choose tag: yr-8.73 just increment the version, if a hot fix increment 0.0.1, normal release increment 0.1
-
Ensure branch is develop:
- Target branch should be develop. Populate title and description.
-
Publish Release:
- Click 'Publish Release', this triggers Github actions to automatically create a release build on the server, 5-10mins.
-
WinSCP:
- Once it's done, open Winscp or putty to connect to the "new-secure" server and go to: /home/cncnet/downloads.cncnet.org/public/updates/games/yr/updates you will see a directory created with the version you specified.
-
WinSCP Server Steps:
- At /home/cncnet/downloads.cncnet.org/public/updates/games/yr you can update the link for DEV, LIVE, the client will then use those builds
- To test in DEV: edit symbolic link for dev to the new version e.g. updates/8.73.0. Always best to test the update in DEV first
- To update live: edit symbolic link for live to the new version e.g. updates/8.73.0
- Copy the
CnCNet5_YR_Installer_$version.exe
from the release page to /home/cncnet/downloads.cncnet.org/public/CnCNet5_YR_Installer.exe (ensuring the file is owned by cncnet:cncnet)
-
Client Test:
- Open client and download the update and make sure it downloads successfully