-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* more consistent error_handling * upgrade spectrum for better error-handling * small fix * upgrade spectrum * release script improvements for macOS
- Loading branch information
Showing
6 changed files
with
50 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,13 +74,13 @@ function help() { | |
|
||
function main() { | ||
# Sed is used as there can be whitespaces | ||
if ! [ "$(git remote -v | grep upstream | grep '[email protected]:cryptoadvance/specter-desktop.git' | wc -l | sed -e 's/\s*//')" = "2" ]; then | ||
if ! [ "$(git remote -v | grep upstream | grep '[email protected]:cryptoadvance/specter-desktop.git' | wc -l | sed -e 's/[[:space:]]*//')" = "2" ]; then | ||
echo " --> You don't have the correct upstream-remote. You need this to release. Please do this:" | ||
echo "git remote add upstream [email protected]:cryptoadvance/specter-desktop.git " | ||
exit 2 | ||
fi | ||
|
||
if ! [ "$(git remote -v | grep origin | grep '[email protected]:' | wc -l)" = "2" ]; then | ||
if ! [ "$(git remote -v | grep origin | grep '[email protected]:' | wc -l | sed -e 's/[[:space:]]*//')" = "2" ]; then | ||
echo " --> You don't have a reasonable origin-remote. You need this to release (especially with --dev). Please add one!" | ||
exit 2 | ||
fi | ||
|