mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 00:11:01 +00:00
Packaging updates
This commit is contained in:
parent
d3aec9556f
commit
b69417b52e
@ -1,14 +1,8 @@
|
||||
# RELEASE
|
||||
|
||||
0. DON'T update dependencies. DON'T 'cargo update'. Do that kind of stuff right after
|
||||
releasing. Because that stuff presents risk.
|
||||
0. DON'T update dependencies ('cargo update'). Do that kind of stuff right after releasing. Because that stuff presents risk.
|
||||
|
||||
1. Update the documentation including:
|
||||
|
||||
README.md
|
||||
help page in the UI
|
||||
|
||||
2. Stabilize the code. Make all these happy:
|
||||
1. Stabilize the code. Make all these happy:
|
||||
|
||||
````bash
|
||||
cargo clippy
|
||||
@ -16,42 +10,56 @@
|
||||
cargo test
|
||||
````
|
||||
|
||||
3. Edit Cargo.toml and change the version (remove the -unstable).
|
||||
Compile so you get a new Cargo.lock
|
||||
1. Test it on Windows and MacOS. Then repeat at step 1 if fixes are needed.
|
||||
|
||||
Commit these 2 new Cargo files as a commit named after the version.
|
||||
1. Update the documentation including:
|
||||
|
||||
4. Tag this as vVERSION, and push the tag
|
||||
- README.md
|
||||
- LICENSE.txt may need a copyright range update
|
||||
- Help page in the UI
|
||||
|
||||
4b. Tag again with -unstable,
|
||||
build to get Cargo.lock,
|
||||
commit both as next commit,
|
||||
push,
|
||||
checkout the release commit again for the rest.
|
||||
1. Update packaging files:
|
||||
|
||||
5. Build the debian:
|
||||
- packaging/debian/Dockerfile may need a new rust version
|
||||
- packaging/windows/gossip.VERSION.wxs needs creating and a UUID update
|
||||
|
||||
1. Edit Cargo.toml and change the version (remove the -unstable).
|
||||
Compile so you get a new Cargo.lock
|
||||
|
||||
- Commit these 2 new Cargo files as a commit named after the version.
|
||||
|
||||
1. Tag this as vVERSION, and push the tag
|
||||
|
||||
1. Tag again with -unstable
|
||||
|
||||
- build to get Cargo.lock,
|
||||
- commit both as next commit,
|
||||
- push,
|
||||
- checkout the release commit again for the rest.
|
||||
|
||||
1. Build the debian:
|
||||
|
||||
````bash
|
||||
cd debian
|
||||
./deb.sh
|
||||
````
|
||||
|
||||
6. Build the appimage:
|
||||
1. Build the appimage:
|
||||
|
||||
````bash
|
||||
cd appimage
|
||||
cargo appimage --features="lang-cjk,video-ffmpeg"
|
||||
./build-appimage.sh
|
||||
````
|
||||
|
||||
7. Build the windows:
|
||||
1. Build the flatpak:
|
||||
|
||||
````bash
|
||||
cd windows
|
||||
````
|
||||
- Folllow the [Flatpak README](flatpak/README.md)
|
||||
|
||||
and follow the [Windows README](windows/README.md)
|
||||
1. Build the windows:
|
||||
|
||||
8. Build the macos:
|
||||
- Follow the [Windows README](windows/README.md)
|
||||
|
||||
1. Build the macos:
|
||||
|
||||
````bash
|
||||
cd macos
|
||||
@ -59,7 +67,7 @@
|
||||
./build_macos_intel.sh
|
||||
````
|
||||
|
||||
9. Bundle the files, create SHA256 hashes
|
||||
1. Bundle the files, create SHA256 hashes
|
||||
|
||||
files in files/
|
||||
|
||||
@ -67,11 +75,11 @@
|
||||
|
||||
git log --oneline v0.8.2..v0.9.0 > changelog.txt
|
||||
|
||||
10. Upload release to github
|
||||
1. Upload release to github
|
||||
|
||||
11. Update the AUR packages
|
||||
1. Update the AUR packages
|
||||
|
||||
12. Announce release on nostr under gossip account
|
||||
1. Announce release on nostr under gossip account
|
||||
|
||||
-----------------
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM rust:1.70-bullseye as builder
|
||||
FROM rust:1.77-bullseye as builder
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install --no-install-recommends -y \
|
||||
|
@ -42,7 +42,7 @@ Upload to github releases.
|
||||
To install the package, either double-click the MSI, or
|
||||
|
||||
````dos
|
||||
msiexec gossip.msi
|
||||
msiexec /i gossip.msi
|
||||
````
|
||||
|
||||
To remove the package from your windows computer:
|
||||
|
32
packaging/windows/gossip.0.10.0.wxs
Normal file
32
packaging/windows/gossip.0.10.0.wxs
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||||
<Package Codepage="1252" Manufacturer="Gossip" ProductCode="{b9442a1a-6875-4530-8082-8a0acddee3c4}" Language="1033" Name="Gossip" Version="0.10.0" UpgradeCode="{F1794F78-CFB1-4056-A1F7-DA48B956456C}" InstallerVersion="200">
|
||||
<StandardDirectory Id="DesktopFolder" />
|
||||
<StandardDirectory Id="ProgramFilesFolder">
|
||||
<Directory Id="Gossip" Name="Gossip">
|
||||
<Directory Id="INSTALLDIR" Name="Gossip">
|
||||
<Component Id="MainExecutable" Guid="{1B8CD459-FB86-42B1-8A42-B4D9848179DD}" Bitness="always32">
|
||||
<Shortcut Id="startmenuShortcut" Directory="ProgramMenuDir" Icon="gossip.ico" IconIndex="0" WorkingDirectory="INSTALLDIR" Name="Gossip" Advertise="yes" />
|
||||
<Shortcut Id="desktopShortcut" Directory="DesktopFolder" Icon="gossip.ico" IconIndex="0" WorkingDirectory="INSTALLDIR" Name="Gossip" Advertise="yes" />
|
||||
<File Id="GossipEXE" Name="gossip.exe" KeyPath="yes" Source="gossip.exe" />
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</StandardDirectory>
|
||||
<StandardDirectory Id="ProgramMenuFolder">
|
||||
<Directory Id="ProgramMenuDir" Name="Gossip">
|
||||
<Component Id="ProgramMenuDir" Guid="{508C7945-FD8F-429D-AF84-6CDBA5AAC575}" Bitness="always32">
|
||||
<RemoveFolder Id="ProgramMenuDir" On="uninstall" Directory="ProgramMenuDir" />
|
||||
<RegistryValue Id="regfVKS7tdq5lPRijYcmmmk_.ClslQ" Key="Software\Gossip\gossip" Root="HKCU" Type="string" Value="" KeyPath="yes" />
|
||||
</Component>
|
||||
</Directory>
|
||||
</StandardDirectory>
|
||||
<Icon Id="gossip.ico" SourceFile="gossip.ico" />
|
||||
<Feature Id="Complete" Level="1">
|
||||
<ComponentRef Id="ProgramMenuDir" />
|
||||
<ComponentRef Id="MainExecutable" Primary="yes" />
|
||||
</Feature>
|
||||
<Media Id="1" EmbedCab="yes" Cabinet="cab1.cab" />
|
||||
<SummaryInformation Description="Gossip 0.10.0 Installer" />
|
||||
</Package>
|
||||
</Wix>
|
Loading…
Reference in New Issue
Block a user