Packging related changes

This commit is contained in:
Mike Dilger 2023-06-24 13:37:40 +12:00
parent 7b3a2901f6
commit 205539ff2c
2 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,4 @@
FROM rust:1.67-bullseye as builder FROM rust:1.70-bullseye as builder
RUN apt-get update \ RUN apt-get update \
&& apt-get install --no-install-recommends -y \ && apt-get install --no-install-recommends -y \

View File

@ -5,7 +5,8 @@ Prerequisite for packaging:
Compile: Compile:
$ cargo build --release $ rustup update
$ cargo build --features=lang-cjk --release
Copy the binary to the packaging diretory Copy the binary to the packaging diretory
@ -16,18 +17,14 @@ Copy the gossip.png here
$ cp ..\..\gossip.png . $ cp ..\..\gossip.png .
For new versions of gossip, update gossip.wxs 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 * UPDATE the Package.ProductCode GUID to a new one
* KEEP the UpgradeCode GUID (it should never change, it ties different versions together) * KEEP the UpgradeCode GUID (it should never change, it ties different versions together)
* Change a component GUID ONLY IF the absolute path changes. * Change a component GUID ONLY IF the absolute path changes.
Packaging: Packaging:
$ wix build gossip.wxs $ wix build gossip.VERSION.wxs
Move to a versioned filename:
$ mv gossip.msi gossip.VERSION.msi
Upload to github releases. Upload to github releases.