summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-05-07 19:07:29 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-05-07 19:12:15 +0200
commit44f056972d3ba1afb5d2064ba1bb0b903f32e550 (patch)
treefe150a93e91400f23354fb9e8dc02fd59f5d1b02
parent48ec15f3b9fca0b3eb98c0aed11f01efb6d87ff3 (diff)
[docs] document the new package release process
-rw-r--r--Makefile1
-rw-r--r--docs/release-howto.rst35
2 files changed, 36 insertions, 0 deletions
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)