echo "Updating the dependencies" go get echo "Updating Gosora" rm ./schema/lastSchema.json cp ./schema/schema.json ./schema/lastSchema.json git stash git pull origin master git stash apply echo "Patching Gosora" go generate go build -o Patcher "./patcher" ./Patcher