trustwallet-assets/script/commit.sh
2020-02-26 16:10:15 -08:00

13 lines
381 B
Bash
Executable File

#!/bin/bash
if [[ `git status --porcelain --untracked-files=no` ]]; then
git add .
git commit -m "Checksum ERC20 addresses [skip ci]"
echo Pushing changes to branch: "$SYSTEM_PULLREQUEST_SOURCEBRANCH"
echo Current branch $(git branch)
git status
git push origin HEAD:"$SYSTEM_PULLREQUEST_SOURCEBRANCH"
echo Complete
else
echo "Nothing to commit"
fi