Skip to content

Distributing

Tres Finocchiaro edited this page Oct 26, 2018 · 19 revisions

Create a QZ Tray distribution

Update the version

  • src/qz/common/Constants.java
  • js/qz-tray.js (two places)

Create the builds

Chain all three builds on macOS, following compiling tutorial.

ant nsis && cp out/*.exe ~/Desktop/ && \
ant pkgbuild && cp out/*.pkg ~/Desktop/ && \
ant makeself && cp out/*.run ~/Desktop/

Sign Windows Release

Sign the .exe using DigiCert EV cert on Windows. Note, if you're on a Hi-Def screen, the app might look weird. Use this regkey and manifest to fix it.

  • Insert the USB hardware key (if it's not ready, read this first)
  • Download the DigiCertUtil.exe
  • Wait for Windows to setup the hardware key (about 5 minutes)
  • Sign using SHA1, then SHA2

Publish

  • Upload builds to https://github.com/qzind/tray/releases/new

    • Tag: v2.x.x (remember the v)
    • Name: 2.x.x
  • Create simple, effective release notes. e.g.

    **201X-01-01**
    
    **Features**
    
    * CP-987 support (#954)
    
    **Fixes**
    
    * Fixes HTTPS connections (#956)
    * Better signing example for js (a1b2c3d)
  • Email premium clients (qz.io (slash) admin)

    • Include abridged version of release notes
    • Link to download
    • Provide any additional information (such as status of 2.x.x beta)
  • Post to Facebook, Twitter

  • Update npm

    • TODO
Clone this wiki locally