pokecrystal/.travis/upload_symbols.sh

13 lines
352 B
Bash
Raw Normal View History

#!/bin/sh
set -e
commit_message=$(git log -1 --pretty=%B)
2020-06-21 02:44:01 +00:00
git clone -b symbols https://github.com/pret/pokecrystal symbols
cd symbols
cp ../*.sym .
git add *.sym
git -c user.name='travis' -c user.email='travis@travis-ci.org' commit -m "$commit_message"
git push -f -q https://pokepret:$GITHUB_API_KEY@github.com/pret/pokecrystal symbols &>/dev/null