From 44f056972d3ba1afb5d2064ba1bb0b903f32e550 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Thu, 7 May 2020 19:07:29 +0200 Subject: [docs] document the new package release process --- Makefile | 1 + docs/release-howto.rst | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 docs/release-howto.rst diff --git a/Makefile b/Makefile index 174e930..96f60e3 100644 --- a/Makefile +++ b/Makefile @@ -46,6 +46,7 @@ depends: dependsLinux: @sudo apt install libgtk-3-dev libappindicator3-dev golang pkg-config dh-golang golang-golang-x-text-dev cmake devscripts fakeroot debhelper curl + @make -C docker deps @# debian needs also: snap install snapcraft --classic; snap install multipass --beta --classic dependsDarwin: diff --git a/docs/release-howto.rst b/docs/release-howto.rst new file mode 100644 index 0000000..98bd939 --- /dev/null +++ b/docs/release-howto.rst @@ -0,0 +1,35 @@ +how to make a release +===================== +1. Tag the release +2. Build the latest builder image: + +``` +make builder_image +``` + +3. Build the snap package: + +With everything ready on the docker image, this one should be built "in a snap" +(badum-tsss). + +``` +make package_snap_in_docker +``` + +4. Build the windows installer: + +This is a bit complicated, since it is a two-stage build. It will need you have +cloned the secrets folder containing the windows authenticode. You also have to +have wine (32 bits) installed in your host machine. + +``` +make package_win_in_docker +``` + +5. Build the OSX package: + +(TBD) + +6. Build the debian package: + +(TBD) -- cgit v1.2.3