Show More
@@ -89,19 +89,23 b' echo $GREEN"please update version number in ${RED}IPython/core/release.py${NOR} ' | |||||
89 | echo $GREEN"Press enter to continue"$NOR |
|
89 | echo $GREEN"Press enter to continue"$NOR | |
90 | read |
|
90 | read | |
91 |
|
91 | |||
92 | echo |
|
92 | if ask_section "Build the documentation ?" | |
93 | echo "Attempting to build the docs.." |
|
93 | then | |
94 | make html -C docs |
|
94 | make html -C docs | |
95 |
|
||||
96 | echo |
|
95 | echo | |
97 | echo $GREEN"Check the docs, press enter to continue"$NOR |
|
96 | echo $GREEN"Check the docs, press enter to continue"$NOR | |
98 | read |
|
97 | read | |
99 |
|
98 | |||
|
99 | fi | |||
|
100 | ||||
100 | echo |
|
101 | echo | |
101 | echo $BLUE"Attempting to build package..."$NOR |
|
102 | echo $BLUE"Attempting to build package..."$NOR | |
102 |
|
103 | |||
103 | tools/build_release |
|
104 | tools/build_release | |
|
105 | rm dist/* | |||
104 |
|
106 | |||
|
107 | if ask_section "Shoudl we commit, tag, push... etc ? " | |||
|
108 | then | |||
105 | echo |
|
109 | echo | |
106 | echo "Let's commit : git commit -am \"release $VERSION\" -S" |
|
110 | echo "Let's commit : git commit -am \"release $VERSION\" -S" | |
107 | echo $GREEN"Press enter to commit"$NOR |
|
111 | echo $GREEN"Press enter to commit"$NOR | |
@@ -140,17 +144,26 b' echo $GREEN"Press enter to commit"$NOR' | |||||
140 | read |
|
144 | read | |
141 | git commit -am "back to dev" -S |
|
145 | git commit -am "back to dev" -S | |
142 |
|
146 | |||
143 |
|
||||
144 |
|
||||
145 |
|
||||
146 | echo |
|
147 | echo | |
147 | echo $BLUE"let's : git checkout $VERSION"$NOR |
|
148 | echo $BLUE"let's : git checkout $VERSION"$NOR | |
148 | echo $GREEN"Press enter to continue"$NOR |
|
149 | echo $GREEN"Press enter to continue"$NOR | |
149 | read |
|
150 | read | |
150 | git checkout $VERSION |
|
151 | git checkout $VERSION | |
|
152 | fi | |||
151 |
|
153 | |||
152 | # ./tools/release |
|
154 | if ask_section "Should we build and release ?" | |
153 | # ls ./dist |
|
155 | then | |
154 | # shasum -a 256 dist/* |
|
|||
155 |
|
|
156 | ||
|
157 | echo | |||
|
158 | echo $BLUE"Attempting to build package..."$NOR | |||
|
159 | ||||
|
160 | tools/build_release | |||
156 |
|
161 | |||
|
162 | echo '$ shasum -a 256 dist/*' | |||
|
163 | shasum -a 256 dist/* | |||
|
164 | ||||
|
165 | if ask_section "upload packages ?" | |||
|
166 | then | |||
|
167 | tools/build_release upload | |||
|
168 | fi | |||
|
169 | fi |
General Comments 0
You need to be logged in to leave comments.
Login now