Skip to content
my-tien edited this page Jan 25, 2017 · 6 revisions

Steps

  • build and test-deploy on all platforms
  • git tag release
  • release-deploy

Preparation – version update

  • version.h
  • installer/knossos/DEBIAN/control
  • wix/bundle.wxs
  • wix/knossos.wxs
  • maybe update Splash

Source release – git tag and build

  • KREVISION inside buildinfo.h in the build directory should automatically get updated

Distribution release

AUR package

  • updpkgsumsmakepkg --source → upload to AUR
    (you cannot test the final AUR package beforehand because it is build upon the git tag)

Debian package

  • create-deb.sh will copy the knossos executable from ../../knossos-release/ (change to your liking) all required dependencies (except python) and plugins to knossos/opt/knossos. After that it builds a Debian package
  • don’t rename it, when installing the linter will hunt you

Windows static build

  • install qt5-static and get a static build of CURL
  • build with CMake flag BUILD_SHARED_LIBS=FALSE (there’re currently hard coded paths inside CustomLibraryLocations.cmake)

Windows Setup

  • put the static knossos32.exe and knossos64.exe and their corresponding python installers (make sure the filenames are correct in the *.iss files) in the installer dir
  • run both scripts (Inno Setup (http://www.jrsoftware.org/isdl.php#stable))
Clone this wiki locally