source: tools/dev/push.sh @ 28fa06b

cremcrem2crem3devdev2diademsdj1.6feature/breadcrumbsfeature/ts-0.5feature/ts-0.5.4feature/writecacheformagenericinstru_searchlamlam2mapsv3mergenlivemultiprobproductionrelease/1.4.4sabiodsearchsecurityserversocialstoragetelecastertest
Last change on this file since 28fa06b was 28fa06b, checked in by yomguy <yomguy@…>, 3 years ago

fix thumbs height

  • Property mode set to 100755
File size: 954 bytes
Line 
1#!/bin/bash
2
3git branch | tr -d \* | while read line
4do
5    branch=${line/#\ }
6
7    echo "Push $branch to origin:"
8    git push origin $branch
9
10    if [[ $branch == *master* ]]; then
11        echo "Push $branch to github:"
12        git push github $branch
13    fi
14
15done
16
17git push --tags
18git push --tags github
19
20ssh vcs.parisson.com "cd /var/git/telemeta.git; git update-server-info"
21
22#echo "Update jimi.parisson.com:"
23echo "Update angus.parisson.com:"
24ssh angus.parisson.com "cd /home/telemeta/telemeta-prod; git pull origin production; \
25                        cd /home/telemeta/telemeta; git pull origin master; \
26                        cd /home/telemeta/demo/; ./manage.py migrate telemeta --delete-ghost-migrations;
27                        cd /home/telemeta/sandbox/; ./manage.py migrate telemeta --delete-ghost-migrations;
28                        cd /home/telemeta/parisson/; ./manage.py migrate telemeta --delete-ghost-migrations; "
29
30echo "Done !"
Note: See TracBrowser for help on using the repository browser.