mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-13 16:29:31 -05:00
Fix tarball compression, and also try to fix CircleCI caches
This commit is contained in:
parent
e4114bf01d
commit
5cbb2b3be4
@ -358,26 +358,26 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Build obfs4proxy
|
name: Build obfs4proxy
|
||||||
command: |
|
command: |
|
||||||
if [[ -f "~/project/desktop/onionshare/resources/tor/obfs4proxy" ]]; then
|
if [[ -f "/Users/distiller/project/desktop/onionshare/resources/tor/obfs4proxy" ]]; then
|
||||||
echo "obfs4proxy already built"
|
echo "obfs4proxy already built"
|
||||||
else
|
else
|
||||||
cd ~/project/desktop
|
cd /Users/distiller/project/desktop
|
||||||
./scripts/build-pt-obfs4proxy.sh
|
./scripts/build-pt-obfs4proxy.sh
|
||||||
fi
|
fi
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: build-macos-obfs4proxy-{{ checksum "~/project/desktop/scripts/build-pt-obfs4proxy.sh" }}-{{ .Environment.CACHE_VERSION }}
|
key: build-macos-obfs4proxy-{{ checksum "~/project/desktop/scripts/build-pt-obfs4proxy.sh" }}-{{ .Environment.CACHE_VERSION }}
|
||||||
paths:
|
paths:
|
||||||
- ~/project/desktop/onionshare/resources/tor/obfs4proxy
|
- /Users/distiller/project/desktop/onionshare/resources/tor/obfs4proxy
|
||||||
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: build-macos-snowflake-{{ checksum "~/project/desktop/scripts/build-pt-snowflake.sh" }}-{{ .Environment.CACHE_VERSION }}
|
key: build-macos-snowflake-{{ checksum "~/project/desktop/scripts/build-pt-snowflake.sh" }}-{{ .Environment.CACHE_VERSION }}
|
||||||
- run:
|
- run:
|
||||||
name: Build snowflake
|
name: Build snowflake
|
||||||
command: |
|
command: |
|
||||||
if [[ -f "~/project/desktop/onionshare/resources/tor/snowflake-client" ]]; then
|
if [[ -f "/Users/distiller/project/desktop/onionshare/resources/tor/snowflake-client" ]]; then
|
||||||
echo "snowflake already built"
|
echo "snowflake already built"
|
||||||
else
|
else
|
||||||
cd ~/project/desktop
|
cd /Users/distiller/project/desktop
|
||||||
./scripts/build-pt-snowflake.sh
|
./scripts/build-pt-snowflake.sh
|
||||||
fi
|
fi
|
||||||
- save_cache:
|
- save_cache:
|
||||||
@ -390,10 +390,10 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Build meek
|
name: Build meek
|
||||||
command: |
|
command: |
|
||||||
if [[ -f "~/project/desktop/onionshare/resources/tor/meek-client" ]]; then
|
if [[ -f "/Users/distiller/project/desktop/onionshare/resources/tor/meek-client" ]]; then
|
||||||
echo "meek already built"
|
echo "meek already built"
|
||||||
else
|
else
|
||||||
cd ~/project/desktop
|
cd /Users/distiller/project/desktop
|
||||||
./scripts/build-pt-meek.sh
|
./scripts/build-pt-meek.sh
|
||||||
fi
|
fi
|
||||||
- save_cache:
|
- save_cache:
|
||||||
@ -413,7 +413,7 @@ jobs:
|
|||||||
name: Compress
|
name: Compress
|
||||||
command: |
|
command: |
|
||||||
cd ~/project/desktop/build
|
cd ~/project/desktop/build
|
||||||
tar -cvfx ~/onionshare-macos.tar.gz OnionShare.app
|
tar -czvf ~/onionshare-macos.tar.gz OnionShare.app
|
||||||
|
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ~/onionshare-macos.tar.gz
|
path: ~/onionshare-macos.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user