mirror of
https://git.qoto.org/m33/misskey-admin-scripts-n-tips.git
synced 2024-10-22 15:09:06 +00:00
git stash non zero is not a fatal error
This commit is contained in:
parent
071c4d3cb2
commit
dd54cde825
1 changed files with 0 additions and 8 deletions
|
@ -38,16 +38,8 @@ echo "Updating codebase with git..."
|
|||
cd $CODE
|
||||
|
||||
git stash
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error, bailing out"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
git checkout master
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error, bailing out"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Compare version before/after pulling files
|
||||
currentVersion=`grep version package.json | awk '{ print $2 }' | sed 's/\"//g' | sed 's/,//'`
|
||||
|
|
Loading…
Reference in a new issue