BUILD SCRIPTS.txt 1.2 KB

123456789101112131415161718192021222324
  1. These scripts are intended for building and uploading releases
  2. of MegaZeux. Copy everything in this directory to the root
  3. directory of a brand new msys2 installation (highly recommended)
  4. Edit 1_PrepareReleaseEnvironment.bat to put in the URL for the
  5. Git repository containing MZX.
  6. Edit VersionSettings.bat, 2_CreateReleases.bat and
  7. 3_PackageReleases.bat to change anything necessary (usually just
  8. the name and branch of the current stable version of MZX)
  9. Edit 4_UploadReleases.bat to uncomment one of the lines, based
  10. on whether you prefer PHP or scp/ssh uploads and whatever your
  11. server is configured for. You may also need to modify
  12. mingw-uploadrelease-ssh.sh if your don't want to upload to the
  13. directory you land at when SSHing to your server.
  14. Run the 4 numbered batch files in order to perform the entire
  15. process. Each batch file will pause at the end to allow you to
  16. check for any errors.
  17. Note that, the first time you run 1_PrepareReleaseEnvironment.bat
  18. it will ask you to close the terminal without returning to the
  19. shell. Close the terminal, ignoring any warnings that there are
  20. processes still running, then rerun 1_PrepareReleaseEnvironment.bat