Skip to content

Commit afe4005

Browse files
committed
Administriva:
code to merge branches
1 parent 9203a56 commit afe4005

7 files changed

Lines changed: 20 additions & 15 deletions

File tree

admin-tools/merge-for-3.0.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#/bin/bash
2+
owd=$(pwd)
3+
cd $(dirname ${BASH_SOURCE[0]})
4+
if . ./setup-python-3.0.sh; then
5+
git merge python-3.3-to-3.5
6+
fi
7+
cd $owd

admin-tools/merge-for-3.2.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#/bin/bash
2+
owd=$(pwd)
23
cd $(dirname ${BASH_SOURCE[0]})
34
if . ./setup-python-3.2.sh; then
45
git merge python-3.6-to-3.10
56
fi
7+
cd $owd

admin-tools/merge-for-3.3.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#/bin/bash
2+
owd=$(pwd)
3+
cd $(dirname ${BASH_SOURCE[0]})
4+
if . ./setup-python-3.3.sh; then
5+
git merge python-3.6-to-3.10
6+
fi
7+
cd $owd

admin-tools/merge-for-3.6.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#/bin/bash
2+
owd=$(pwd)
23
cd $(dirname ${BASH_SOURCE[0]})
34
if . ./setup-python-3.6.sh; then
45
git merge master
56
fi
7+
cd $owd

admin-tools/setup-master.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ function checkout_version {
1111
return $?
1212
}
1313

14-
# FIXME put some of the below in a common routine
15-
function finish {
16-
cd $owd
17-
}
18-
1914
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
2015
owd=$(pwd)
2116
bs=${BASH_SOURCE[0]}

admin-tools/setup-python-3.2.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ function checkout_version {
1111
return $?
1212
}
1313

14-
# FIXME put some of the below in a common routine
15-
function finish {
16-
cd $owd
17-
}
18-
1914
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
2015
owd=$(pwd)
2116
bs=${BASH_SOURCE[0]}
@@ -37,3 +32,4 @@ cd $owd
3732
rm -v */.python-version || true
3833

3934
git checkout python-3.2-to-3.5 && pyenv local $PYTHON_VERSION && git pull
35+
cd $owd

admin-tools/setup-python-3.6.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ function checkout_version {
1111
return $?
1212
}
1313

14-
# FIXME put some of the below in a common routine
15-
function finish {
16-
cd $owd
17-
}
18-
1914
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
2015
owd=$(pwd)
2116
bs=${BASH_SOURCE[0]}
@@ -37,3 +32,4 @@ cd $owd
3732
rm -v */.python-version || true
3833

3934
git checkout python-3.6-to-3.10 && pyenv local $PYTHON_VERSION && git pull
35+
cd $owd

0 commit comments

Comments
 (0)