From fef5e3b2ec7b57a622e41a421fca14de766554c1 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 19 Jun 2022 23:18:25 -0400 Subject: [PATCH] Follow redirects when downloading with curl --- .circleci/config.yml | 4 ++-- RELEASE.md | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fa7970f8..00ac65fa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/RELEASE.md b/RELEASE.md index eb2d9434..ece4851f 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -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`