Skip to content

How To: Publish a Release

Ibi Keller edited this page Sep 28, 2024 · 22 revisions

Steps for publishing a release

  • Update version # in:
    • II Simulator properties: Package > General > "Package Version"
    • II Scenario Editor properties: Package > General > "Package Version"
    • Package, MacOS\Info.plist: CFBundleVersion and CFBundleShortVersionString
  • Comment any testing/debugging shortcuts
    • Git Commit; Git Push
  • On Linux: Run ./II Development Tools/publish.sh
    • Creates packages for all platforms: win.zip, linux.deb, linux.rpm, linux.tgz, mac.app
  • On Windows: Run ./II Development Tools/publish.ps1
    • Uses previously assembled win.zip to create a win.exe installer using NSIS
    • Signs .exe packages using signtool
  • Create a Github Release
    • Upload all packages, including:
      • Windows: .zip, .exe
      • Linux: .deb, .tar.gz
      • OSX: .tar.gz
  • Update II Server MySQL database
    • Version #
  • Update infirmary-integrated.com's “Downloads” page
    • Update latest version #
    • Change link destination for all versions
    • Update SHA256 hashes
  • Copy Github Release into a Wordpress post on infirmary-integrated.com

Steps for updating repositories

Apt repository (via shell access)

  • Run ~/scripts/apt-release.sh <github.com/address/of/debian_package.deb>