Follow redirects when downloading with curl

This commit is contained in:
Micah Lee 2022-06-19 23:18:25 -04:00
parent 1116a407ea
commit fef5e3b2ec
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 6 additions and 2 deletions

View File

@ -332,13 +332,13 @@ jobs:
- run:
name: Install Go 1.18.3
command: |
curl https://go.dev/dl/go1.18.3.darwin-amd64.pkg --output ~/Downloads/go.pkg
curl -L https://go.dev/dl/go1.18.3.darwin-amd64.pkg --output ~/Downloads/go.pkg
sudo installer -pkg ~/Downloads/go.pkg -target /
- run:
name: Install Python 3.9.13
command: |
curl https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg --output ~/Downloads/python.pkg
curl -L https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg --output ~/Downloads/python.pkg
sudo installer -pkg ~/Downloads/python.pkg -target /
- run:

View File

@ -119,6 +119,10 @@ This will create:
## macOS
Set up the packaging environment:
- 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:
- `onionshare-macos.zip`