-
Notifications
You must be signed in to change notification settings - Fork 11
/
update_doc_repos
49 lines (44 loc) · 927 Bytes
/
update_doc_repos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/sh
# script to git pull and update
# all book-level and local doc level repos
# Add the following to your .bash_profile
# export PATH="/User/pivotal:$PATH"
cd ~/workspace/docs-book-cloudfoundry
echo
echo Update context 1 of 3
echo Update the OSS book repo
echo
git pull
echo
echo Update the local repos
echo
bundle exec bookbinder update_local_doc_repos
echo
echo Done: git pull executed on all OSS repos
echo
cd ~/workspace/docs-book-pivotalcf
echo
echo Update context 2 of 3
echo Update the PCF book repo
echo
git pull
echo
echo Update the local repos
echo
bundle exec bookbinder update_local_doc_repos
echo
echo Done: git pull executed on all PCF repos
echo
cd ~/workspace/docs-book-cloudfoundry
echo
echo Update context 3 of 3
echo Update the PWS book repo
echo
git pull
echo
echo Update the local repos
echo
bundle exec bookbinder update_local_doc_repos
echo
echo Done: git pull executed on all PWS repos
echo