Update release docs. Update tor in snapcraft. Try fixing Snapcraft automatic build

This commit is contained in:
Micah Lee 2022-10-02 13:02:38 -07:00
parent 19be871969
commit 6c361a379c
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 6 additions and 5 deletions

View file

@ -42,7 +42,7 @@ You also must edit these files:
Make sure snapcraft packaging works. In `snap/snapcraft.yaml`:
- [ ] The `tor`, `libevent`, and `obfs4` parts should be updated if necessary
- [ ] The `tor`, `libevent`, `obfs4`, `snowflake-client`, and `meek-client` parts should be updated if necessary
- [ ] All python packages in the `onionshare` part should be updated to match `desktop/pyproject.toml`
- [ ] With every commit to the `develop` branch, Snapcraft's CI should trigger builds. Make sure the builds all succeeded at https://snapcraft.io/onionshare/builds (you must be logged in), and test them
@ -101,7 +101,7 @@ snapcraft upload --release=stable onionshare_${VERSION}_amd64.snap
Set up the packaging environment:
- Install the [Windows SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) and add `C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64` to your path (to get `signtool.exe`).
- Install the Windows SDK from here: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ and add `C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool` to the path (you'll need it for `signtool.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.

View file

@ -133,8 +133,8 @@ parts:
after: [tor, obfs4, snowflake-client, meek-client]
tor:
source: https://dist.torproject.org/tor-0.4.7.8.tar.gz
source-checksum: sha256/9e9a5c67ad2acdd5f0f8be14ed591fed076b1708abf8344066990a0fa66fe195
source: https://dist.torproject.org/tor-0.4.7.9.tar.gz
source-checksum: sha256/d39d38598208f4d6201d7edc6ad573b3a898a932a5c68d3074016a9525519b22
source-type: tar
plugin: autotools
autotools-configure-parameters:
@ -154,6 +154,7 @@ parts:
plugin: go
source: https://gitlab.com/yawning/obfs4.git
source-type: git
source-tag: obfs4proxy-0.0.13
snowflake-client:
plugin: go
@ -170,5 +171,5 @@ parts:
source-tag: v0.37.0
override-build: |
cd meek-client
mkdir /root/parts/meek-client/install/bin
mkdir -p /root/parts/meek-client/install/bin
go build -o /root/parts/meek-client/install/bin/meek-client ./...