We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14f6bc1 commit 2d8d9ddCopy full SHA for 2d8d9dd
ci/steps/brew-bump.sh
@@ -41,6 +41,14 @@ main() {
41
echo "Adding Homebrew/homebrew-core as $(upstream)"
42
git remote add upstream https://github.com/Homebrew/homebrew-core.git
43
44
+ # Make sure the git remote step is successful
45
+ if ! git config remote.upstream.url > /dev/null; then
46
+ echo "git remote add upstream failed."
47
+ echo "Could not find upstream in list of remotes."
48
+ git remote -v
49
+ exit 1
50
+ fi
51
+
52
echo "Fetching upstream Homebrew/hombrew-core commits"
53
git fetch upstream
54
0 commit comments