mirror of
https://github.com/dkhamsing/open-source-ios-apps.git
synced 2024-11-30 11:52:21 +03:00
29 lines
598 B
Bash
Executable File
29 lines
598 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
git config user.name "READMEbot"
|
|
git config user.email "readmebot@users.noreply.github.com"
|
|
|
|
status=`git status`
|
|
|
|
if [[ $status == *"README.md"* ]]
|
|
then
|
|
git add README.md
|
|
git commit -m "[auto] [ci skip] Generate README"
|
|
fi
|
|
|
|
if [[ $status == *"ARCHIVE.md"* ]]
|
|
then
|
|
git add ARCHIVE.md
|
|
git commit -m "[auto] [ci skip] Generate ARCHIVE"
|
|
fi
|
|
|
|
if [[ $status == *"APPSTORE.md"* ]]
|
|
then
|
|
git add APPSTORE.md
|
|
git commit -m "[auto] [ci skip] Generate APPSTORE"
|
|
fi
|
|
|
|
git push --quiet "https://${GH_TOKEN}@github.com/dkhamsing/open-source-ios-apps" master:master > /dev/null 2>&1
|