Update release documentation

This commit is contained in:
Micah Lee 2022-10-02 12:42:44 -07:00
parent 55d5e93100
commit 19be871969
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -105,10 +105,10 @@ Set up the packaging environment:
- Go to https://dotnet.microsoft.com/download/dotnet-framework and download and install .NET Framework 3.5 SP1 Runtime. I downloaded `dotnetfx35.exe`. - Go to https://dotnet.microsoft.com/download/dotnet-framework and download and install .NET Framework 3.5 SP1 Runtime. I downloaded `dotnetfx35.exe`.
- Go to https://wixtoolset.org/releases/ and download and install WiX toolset. I downloaded `wix311.exe`. Add `C:\Program Files (x86)\WiX Toolset v3.11\bin` to the path. - Go to https://wixtoolset.org/releases/ and download and install WiX toolset. I downloaded `wix311.exe`. Add `C:\Program Files (x86)\WiX Toolset v3.11\bin` to the path.
CircleCI will build the binaries. Find the CircleCI jobs `build-win32` and `build-win64`, switch to the artifacts tab, and download: Github Actions will build the binaries. Find the Github Actions `build` workflow, switch to the summary tab, and download:
- `onionshare-win32.zip` - `build-win32`
- `onionshare-win64.zip` - `build-win64`
Extract these files, change to the `desktop` folder, and run: Extract these files, change to the `desktop` folder, and run:
@ -128,9 +128,9 @@ Set up the packaging environment:
- Install create-dmg: `brew install create-dmg` - Install create-dmg: `brew install create-dmg`
CircleCI will build the binaries. Find the CircleCI job `build-macos`, switch to the artifacts tab, and download: Github Actions will build the binaries. Find the Github Actions `build` workflow, switch to the summary tab, and download:
- `onionshare-macos.zip` - `build-mac`
Extract these files, change to the `desktop` folder, and run: Extract these files, change to the `desktop` folder, and run:
@ -149,7 +149,7 @@ export VERSION=$(cat ../cli/onionshare_cli/resources/version.txt)
# Notarize it # Notarize it
xcrun altool --notarize-app --primary-bundle-id "com.micahflee.onionshare" -u "micah@micahflee.com" -p "$APPLE_PASSWORD" --file dist/OnionShare-$VERSION.dmg xcrun altool --notarize-app --primary-bundle-id "com.micahflee.onionshare" -u "micah@micahflee.com" -p "$APPLE_PASSWORD" --file dist/OnionShare-$VERSION.dmg
# Wait for it to get approved, ceck status with # Wait for it to get approved, check status with
xcrun altool --notarization-history 0 -u "micah@micahflee.com" -p "$APPLE_PASSWORD" xcrun altool --notarization-history 0 -u "micah@micahflee.com" -p "$APPLE_PASSWORD"
# After it's approved, staple the ticket # After it's approved, staple the ticket
xcrun stapler staple dist/OnionShare-$VERSION.dmg xcrun stapler staple dist/OnionShare-$VERSION.dmg