pokecrystal-board/.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-20 19:44:01 -07: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