Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
a55a30ec
Unverified
Commit
a55a30ec
authored
Sep 09, 2020
by
Lucas Larson
Committed by
GitHub
Sep 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: return git error code on failure (#9238)
Fixes #9237
parent
708ea423
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
upgrade.sh
tools/upgrade.sh
+4
-0
No files found.
tools/upgrade.sh
View file @
a55a30ec
...
...
@@ -68,6 +68,7 @@ then
printf
"
${
BLUE
}${
BOLD
}
%s
${
UNDER
}
%s
${
RESET
}
\n
"
"Want to get involved in the community? Join our Discord:"
"https://discord.gg/ohmyzsh"
printf
"
${
BLUE
}${
BOLD
}
%s
${
UNDER
}
%s
${
RESET
}
\n
"
"Get your Oh My Zsh swag at:"
"https://shop.planetargon.com/collections/oh-my-zsh"
else
status
=
$?
printf
"
${
RED
}
%s
${
RESET
}
\n
"
'There was an error updating. Try again later?'
fi
...
...
@@ -76,3 +77,6 @@ case "$resetAutoStash" in
""
)
git config
--unset
rebase.autoStash
;;
*
)
git config rebase.autoStash
"
$resetAutoStash
"
;;
esac
# Exit with `1` if the update failed
exit
$status
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment