Simple script for updating NativeScript templates
Usage:
$./apply.sh [branch] [message]
For each repo listed in templates-repos.txt
the script will:
- Clone the repo
- Copy recursively (
cp -r
) the contets of thePATCH
folder into the repo - Create a branch with name
[branch]
- Commit changes with message
[message]
- Push