Fix Homebrew deployment on CircleCI#3564
Conversation
| rm $FORMULA_FILE.bak | ||
| export UPDATED_SHA256=$(openssl dgst -sha256 dist/archive/raiden-${ARCHIVE_TAG}-macOS-x86_64.zip) | ||
| export FORMULA_FILE="homebrew-raiden/raiden.rb" | ||
| sed -i.bak -r "s/[0-9]+\.[0-9]+\.[0-9]+(-?rc.)?/${ARCHIVE_TAG/v/}/g" ${FORMULA_FILE} |
There was a problem hiding this comment.
Was removing the space in -i.bak done on purpose?
There was a problem hiding this comment.
Yes it was. Previously (on Travis) this ran on macOS which has BSD sed. On Circle this is now running in a linux container with gnu sed which (for whatever reason) doesn't accept a space after the -i option.
Yes, with additional checking of the key fingerprint to prevent MitM attacks.
Also yes. Previously the
👀 That line hasn't been touched since early 2018... |
a199327 to
89f5db3
Compare
|
Ok found the reason for the lint failure. On Circle we get Related: pylint-dev/astroid#651, pylint-dev/pylint#2774 /edit: @konradkonrad already fixed it another way in #3557. Still we should pin astroid since it seems to break other stuff as well. |
89f5db3 to
4ab8b9d
Compare
Codecov Report
@@ Coverage Diff @@
## master #3564 +/- ##
==========================================
- Coverage 77.15% 77.12% -0.03%
==========================================
Files 103 103
Lines 13631 13631
Branches 1913 1913
==========================================
- Hits 10517 10513 -4
- Misses 2449 2450 +1
- Partials 665 668 +3
Continue to review full report at Codecov.
|
No description provided.