summaryrefslogtreecommitdiff
path: root/bundle-update.sh
blob: 578d1e88862cb6ef928c0f87626abd133e5b6769 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

wd=$(dirname $0)
path="pack/bundle/start"
branch=$(git branch --show-current)

for i in $(ls $wd/$path); do
    pushd $wd/$path/$i
    git pull origin $branch
    popd > /dev/null
done

cd $wd
git add .
git commit -m "Bundle update `date`"