mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-30 00:41:42 +00:00
Improve markdown and convert txt to md
This commit is contained in:
parent
70fee5b085
commit
de252a19b9
@ -50,13 +50,13 @@ The flow generally happens like this:
|
|||||||
|
|
||||||
I prefer that you run and make pass:
|
I prefer that you run and make pass:
|
||||||
|
|
||||||
````sh
|
````bash
|
||||||
cargo clippy
|
cargo clippy
|
||||||
````
|
````
|
||||||
|
|
||||||
and then
|
and then
|
||||||
|
|
||||||
````sh
|
````bash
|
||||||
cargo fmt
|
cargo fmt
|
||||||
````
|
````
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# RELEASE
|
||||||
|
|
||||||
0. DON'T update dependencies. DON'T 'cargo update'. Do that kind of stuff right after
|
0. DON'T update dependencies. DON'T 'cargo update'. Do that kind of stuff right after
|
||||||
releasing. Because that stuff presents risk.
|
releasing. Because that stuff presents risk.
|
||||||
@ -9,9 +10,11 @@
|
|||||||
|
|
||||||
2. Stabilize the code. Make all these happy:
|
2. Stabilize the code. Make all these happy:
|
||||||
|
|
||||||
$ cargo clippy
|
````bash
|
||||||
$ cargo fmt
|
cargo clippy
|
||||||
$ cargo test
|
cargo fmt
|
||||||
|
cargo test
|
||||||
|
````
|
||||||
|
|
||||||
3. Edit Cargo.toml and change the version (remove the -unstable).
|
3. Edit Cargo.toml and change the version (remove the -unstable).
|
||||||
Compile so you get a new Cargo.lock
|
Compile so you get a new Cargo.lock
|
||||||
@ -28,24 +31,33 @@
|
|||||||
|
|
||||||
5. Build the debian:
|
5. Build the debian:
|
||||||
|
|
||||||
$ cd debian
|
````bash
|
||||||
$ ./deb.sh
|
cd debian
|
||||||
|
./deb.sh
|
||||||
|
````
|
||||||
|
|
||||||
6. Build the appimage
|
6. Build the appimage:
|
||||||
|
|
||||||
$ cd appimage
|
````bash
|
||||||
$ cargo appimage --features="lang-cjk,video-ffmpeg"
|
cd appimage
|
||||||
|
cargo appimage --features="lang-cjk,video-ffmpeg"
|
||||||
|
````
|
||||||
|
|
||||||
7. Build the windows
|
7. Build the windows:
|
||||||
|
|
||||||
$ cd windows
|
````bash
|
||||||
Follow the windows/README.txt
|
cd windows
|
||||||
|
````
|
||||||
|
|
||||||
8. Build the macos
|
and follow the [Windows README](windows/README.md)
|
||||||
|
|
||||||
$ cd macos
|
8. Build the macos:
|
||||||
$ ./build_macos.sh
|
|
||||||
$ ./build_macos_intel.sh
|
````bash
|
||||||
|
cd macos
|
||||||
|
./build_macos.sh
|
||||||
|
./build_macos_intel.sh
|
||||||
|
````
|
||||||
|
|
||||||
9. Bundle the files, create SHA256 hashes
|
9. Bundle the files, create SHA256 hashes
|
||||||
|
|
||||||
@ -55,10 +67,8 @@
|
|||||||
|
|
||||||
12. Announce release on nostr under gossip account
|
12. Announce release on nostr under gossip account
|
||||||
|
|
||||||
|
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|
||||||
This is a draft of the steps taken to make a release.
|
This is a draft of the steps taken to make a release.
|
||||||
I intend to flesh this out as I actually make releases.
|
I intend to flesh this out as I actually make releases.
|
||||||
|
|
||||||
@ -77,10 +87,9 @@ gossip
|
|||||||
├── nostr-types
|
├── nostr-types
|
||||||
└── qrcode
|
└── qrcode
|
||||||
|
|
||||||
|
|
||||||
Try to push our dependency changes upstream:
|
Try to push our dependency changes upstream:
|
||||||
https://github.com/mikedilger/qrcode-rust (unlikely, stale for >3 years)
|
<https://github.com/mikedilger/qrcode-rust> (unlikely, stale for >3 years)
|
||||||
https://github.com/mikedilger/egui
|
<https://github.com/mikedilger/egui>
|
||||||
|
|
||||||
nostr-types
|
nostr-types
|
||||||
-- cargo update, and check for new versions, maybe update dependencies
|
-- cargo update, and check for new versions, maybe update dependencies
|
||||||
@ -118,18 +127,22 @@ gossip
|
|||||||
-- master
|
-- master
|
||||||
-- version 0.N+1.0-unstable
|
-- version 0.N+1.0-unstable
|
||||||
|
|
||||||
-----------------------------
|
-----------------
|
||||||
|
|
||||||
Package & Publish of gossip:
|
Package & Publish of gossip:
|
||||||
|
|
||||||
Package for windows:
|
Package for windows:
|
||||||
|
|
||||||
* main version, as .msi
|
* main version, as .msi
|
||||||
* main version with lang-cjk, as .msi
|
* main version with lang-cjk, as .msi
|
||||||
|
|
||||||
Package for debian:
|
Package for debian:
|
||||||
|
|
||||||
* main version, as .msi
|
* main version, as .msi
|
||||||
* main version with lang-cjk, as .msi
|
* main version with lang-cjk, as .msi
|
||||||
|
|
||||||
Create github release (it will create source tar files)
|
Create github release (it will create source tar files)
|
||||||
|
|
||||||
* Post the windows .msi files
|
* Post the windows .msi files
|
||||||
* Post the debian .deb files
|
* Post the debian .deb files
|
||||||
|
|
@ -1,3 +1,4 @@
|
|||||||
|
# WINDOWS
|
||||||
|
|
||||||
Prerequisite for packaging:
|
Prerequisite for packaging:
|
||||||
|
|
||||||
@ -5,24 +6,25 @@ Prerequisite for packaging:
|
|||||||
|
|
||||||
Compile:
|
Compile:
|
||||||
|
|
||||||
````
|
````sh
|
||||||
rustup update
|
rustup update
|
||||||
cargo build --features=lang-cjk --release
|
cargo build --features=lang-cjk --release
|
||||||
````
|
````
|
||||||
|
|
||||||
Copy the binary to the packaging diretory
|
Copy the binary to the packaging diretory
|
||||||
|
|
||||||
````
|
````sh
|
||||||
cp ..\..\target\release\gossip.exe .
|
cp ..\..\target\release\gossip.exe .
|
||||||
````
|
````
|
||||||
|
|
||||||
Copy the gossip.png here
|
Copy the gossip.png here
|
||||||
|
|
||||||
````
|
````sh
|
||||||
cp ..\..\logo\gossip.png .
|
cp ..\..\logo\gossip.png .
|
||||||
````
|
````
|
||||||
|
|
||||||
For new versions of gossip, update gossip.wxs
|
For new versions of gossip, update `gossip.wxs`:
|
||||||
|
|
||||||
* UPDATE the Package.Version, SummaryInformation.Description
|
* 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)
|
||||||
@ -30,22 +32,21 @@ For new versions of gossip, update gossip.wxs
|
|||||||
|
|
||||||
Packaging:
|
Packaging:
|
||||||
|
|
||||||
````
|
````sh
|
||||||
wix build gossip.VERSION.wxs
|
wix build gossip.VERSION.wxs
|
||||||
````
|
````
|
||||||
|
|
||||||
Upload to github releases.
|
Upload to github releases.
|
||||||
|
|
||||||
|
|
||||||
----
|
----
|
||||||
To install the package, either double-click the MSI, or
|
To install the package, either double-click the MSI, or
|
||||||
|
|
||||||
````
|
````sh
|
||||||
msiexec gossip.msi
|
msiexec gossip.msi
|
||||||
````
|
````
|
||||||
|
|
||||||
To remove the package from your windows computer:
|
To remove the package from your windows computer:
|
||||||
|
|
||||||
````
|
````sh
|
||||||
msiexec /x gossip.msi
|
msiexec /x gossip.msi
|
||||||
````
|
````
|
Loading…
Reference in New Issue
Block a user