Show More
@@ -89,68 +89,81 b' echo $GREEN"please update version number in ${RED}IPython/core/release.py${NOR} ' | |||
|
89 | 89 | echo $GREEN"Press enter to continue"$NOR |
|
90 | 90 | read |
|
91 | 91 | |
|
92 | echo | |
|
93 | echo "Attempting to build the docs.." | |
|
94 | make html -C docs | |
|
92 | if ask_section "Build the documentation ?" | |
|
93 | then | |
|
94 | make html -C docs | |
|
95 | echo | |
|
96 | echo $GREEN"Check the docs, press enter to continue"$NOR | |
|
97 | read | |
|
95 | 98 | |
|
96 | echo | |
|
97 | echo $GREEN"Check the docs, press enter to continue"$NOR | |
|
98 | read | |
|
99 | fi | |
|
99 | 100 | |
|
100 | 101 | echo |
|
101 | 102 | echo $BLUE"Attempting to build package..."$NOR |
|
102 | 103 | |
|
103 | 104 | tools/build_release |
|
105 | rm dist/* | |
|
104 | 106 | |
|
105 | echo | |
|
106 | echo "Let's commit : git commit -am \"release $VERSION\" -S" | |
|
107 | echo $GREEN"Press enter to commit"$NOR | |
|
108 | read | |
|
109 | git commit -am "release $VERSION" -S | |
|
110 | ||
|
111 | echo | |
|
112 | echo $BLUE"git push origin \$BRANCH ($BRANCH)?"$NOR | |
|
113 | echo $GREEN"Make sure you can push"$NOR | |
|
114 | echo $GREEN"Press enter to continue"$NOR | |
|
115 | read | |
|
116 | git push origin $BRANCH | |
|
117 | ||
|
118 | echo | |
|
119 | echo "Let's tag : git tag -am \"release $VERSION\" \"$VERSION\" -s" | |
|
120 | echo $GREEN"Press enter to tag commit"$NOR | |
|
121 | read | |
|
122 | git tag -am "release $VERSION" "$VERSION" -s | |
|
123 | ||
|
124 | echo | |
|
125 | echo $BLUE"And push the tag: git push origin \$VERSION ?"$NOR | |
|
126 | echo $GREEN"Press enter to continue"$NOR | |
|
127 | read | |
|
128 | git push origin $VERSION | |
|
129 | ||
|
130 | ||
|
131 | echo $GREEN"please update version number and back to .dev in ${RED}IPython/core/release.py" | |
|
132 | echo ${BLUE}"Do not commit yet – we'll do it later."$NOR | |
|
133 | ||
|
134 | echo $GREEN"Press enter to continue"$NOR | |
|
135 | read | |
|
136 | ||
|
137 | echo | |
|
138 | echo "Let's commit : git commit -am \"back to dev\" -S" | |
|
139 | echo $GREEN"Press enter to commit"$NOR | |
|
140 | read | |
|
141 | git commit -am "back to dev" -S | |
|
142 | ||
|
143 | ||
|
107 | if ask_section "Shoudl we commit, tag, push... etc ? " | |
|
108 | then | |
|
109 | echo | |
|
110 | echo "Let's commit : git commit -am \"release $VERSION\" -S" | |
|
111 | echo $GREEN"Press enter to commit"$NOR | |
|
112 | read | |
|
113 | git commit -am "release $VERSION" -S | |
|
114 | ||
|
115 | echo | |
|
116 | echo $BLUE"git push origin \$BRANCH ($BRANCH)?"$NOR | |
|
117 | echo $GREEN"Make sure you can push"$NOR | |
|
118 | echo $GREEN"Press enter to continue"$NOR | |
|
119 | read | |
|
120 | git push origin $BRANCH | |
|
121 | ||
|
122 | echo | |
|
123 | echo "Let's tag : git tag -am \"release $VERSION\" \"$VERSION\" -s" | |
|
124 | echo $GREEN"Press enter to tag commit"$NOR | |
|
125 | read | |
|
126 | git tag -am "release $VERSION" "$VERSION" -s | |
|
127 | ||
|
128 | echo | |
|
129 | echo $BLUE"And push the tag: git push origin \$VERSION ?"$NOR | |
|
130 | echo $GREEN"Press enter to continue"$NOR | |
|
131 | read | |
|
132 | git push origin $VERSION | |
|
133 | ||
|
134 | ||
|
135 | echo $GREEN"please update version number and back to .dev in ${RED}IPython/core/release.py" | |
|
136 | echo ${BLUE}"Do not commit yet – we'll do it later."$NOR | |
|
137 | ||
|
138 | echo $GREEN"Press enter to continue"$NOR | |
|
139 | read | |
|
140 | ||
|
141 | echo | |
|
142 | echo "Let's commit : git commit -am \"back to dev\" -S" | |
|
143 | echo $GREEN"Press enter to commit"$NOR | |
|
144 | read | |
|
145 | git commit -am "back to dev" -S | |
|
146 | ||
|
147 | echo | |
|
148 | echo $BLUE"let's : git checkout $VERSION"$NOR | |
|
149 | echo $GREEN"Press enter to continue"$NOR | |
|
150 | read | |
|
151 | git checkout $VERSION | |
|
152 | fi | |
|
144 | 153 | |
|
154 | if ask_section "Should we build and release ?" | |
|
155 | then | |
|
145 | 156 | |
|
146 | echo | |
|
147 | echo $BLUE"let's : git checkout $VERSION"$NOR | |
|
148 | echo $GREEN"Press enter to continue"$NOR | |
|
149 | read | |
|
150 | git checkout $VERSION | |
|
157 | echo | |
|
158 | echo $BLUE"Attempting to build package..."$NOR | |
|
151 | 159 | |
|
152 |
|
|
|
153 | # ls ./dist | |
|
154 | # shasum -a 256 dist/* | |
|
160 | tools/build_release | |
|
155 | 161 |
|
|
162 | echo '$ shasum -a 256 dist/*' | |
|
163 | shasum -a 256 dist/* | |
|
156 | 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