mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Try fixing go parts in snapcraft
This commit is contained in:
parent
12295aa693
commit
29707c97bb
@ -44,7 +44,7 @@ Make sure snapcraft packaging works. In `snap/snapcraft.yaml`:
|
||||
|
||||
- [ ] The `tor`, `libevent`, and `obfs4` parts should be updated if necessary
|
||||
- [ ] All python packages in the `onionshare` part should be updated to match `desktop/pyproject.toml`
|
||||
- [ ] Test the snap package, ensure it works
|
||||
- [ ] 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
|
||||
|
||||
Update to the latest version of Tor:
|
||||
|
||||
|
@ -151,13 +151,11 @@ parts:
|
||||
|
||||
obfs4:
|
||||
plugin: go
|
||||
go-importpath: gitlab.com/yawning/obfs4
|
||||
source: https://gitlab.com/yawning/obfs4
|
||||
source: https://gitlab.com/yawning/obfs4.git
|
||||
source-type: git
|
||||
|
||||
snowflake-client:
|
||||
plugin: go
|
||||
go-importpath: git.torproject.org/pluggable-transports/snowflake.git/client
|
||||
source: https://git.torproject.org/pluggable-transports/snowflake.git
|
||||
source-type: git
|
||||
source-tag: v2.2.0
|
||||
@ -166,13 +164,11 @@ parts:
|
||||
|
||||
meek-client:
|
||||
plugin: go
|
||||
go-channel: stable
|
||||
go-importpath: git.torproject.org/pluggable-transports/meek.git/meek-client
|
||||
# Not sure why I have to do this, but it works
|
||||
override-build: |
|
||||
cd meek-client
|
||||
mkdir /root/parts/meek-client/install/bin
|
||||
go build -o /root/parts/meek-client/install/bin/meek-client ./...
|
||||
source: https://git.torproject.org/pluggable-transports/meek.git
|
||||
source-type: git
|
||||
source-tag: v0.37.0
|
||||
# # Not sure why I have to do this, but it works
|
||||
# override-build: |
|
||||
# cd meek-client
|
||||
# mkdir /root/parts/meek-client/install/bin
|
||||
# go build -o /root/parts/meek-client/install/bin/meek-client ./...
|
||||
|
Loading…
Reference in New Issue
Block a user