From 205539ff2c2c171a24b8ddafa60ecdb56fb762a5 Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Sat, 24 Jun 2023 13:37:40 +1200 Subject: [PATCH] Packging related changes --- packaging/debian/Dockerfile | 2 +- packaging/windows/README.txt | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/packaging/debian/Dockerfile b/packaging/debian/Dockerfile index 5fa4f76a..1b66ee7a 100644 --- a/packaging/debian/Dockerfile +++ b/packaging/debian/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.67-bullseye as builder +FROM rust:1.70-bullseye as builder RUN apt-get update \ && apt-get install --no-install-recommends -y \ diff --git a/packaging/windows/README.txt b/packaging/windows/README.txt index 2325855a..234f42a1 100644 --- a/packaging/windows/README.txt +++ b/packaging/windows/README.txt @@ -5,7 +5,8 @@ Prerequisite for packaging: Compile: - $ cargo build --release + $ rustup update + $ cargo build --features=lang-cjk --release Copy the binary to the packaging diretory @@ -16,18 +17,14 @@ Copy the gossip.png here $ cp ..\..\gossip.png . For new versions of gossip, update gossip.wxs - * UPDATE the Package.Version + * UPDATE the Package.Version, SummaryInformation.Description * UPDATE the Package.ProductCode GUID to a new one * KEEP the UpgradeCode GUID (it should never change, it ties different versions together) * Change a component GUID ONLY IF the absolute path changes. Packaging: - $ wix build gossip.wxs - -Move to a versioned filename: - - $ mv gossip.msi gossip.VERSION.msi + $ wix build gossip.VERSION.wxs Upload to github releases.