##// END OF EJS Templates
Merge pull request #11859 from terrdavis/master...
Merge pull request #11859 from terrdavis/master Expose pdb.Pdb API

File last commit:

r25159:1879ed27
r25177:8971c8e5 merge
Show More
release_helper.sh
82 lines | 1.8 KiB | application/x-sh | BashLexer
/ tools / release_helper.sh
Matthias Bussonnier
add release helper
r24981 # Simple tool to help for release
# when releasing with bash, simplei source it to get asked questions.
Matthias Bussonnier
Add stats and some early checks in release script
r25157 # misc check before starting
python -c 'import keyring'
python -c 'import twine'
python -c 'import sphinx'
python -c 'import sphinx_rtd_theme'
Matthias Bussonnier
release 7.7.0
r25158 python -c 'import nose'
Matthias Bussonnier
Add stats and some early checks in release script
r25157
Matthias Bussonnier
update relase toom and mailmap
r25123 echo -n 'PREV_RELEASE (X.y.z):'
Matthias Bussonnier
add release helper
r24981 read PREV_RELEASE
Matthias Bussonnier
update relase toom and mailmap
r25123 echo -n 'MILESTONE (X.y):'
Matthias Bussonnier
add release helper
r24981 read MILESTONE
Matthias Bussonnier
update relase toom and mailmap
r25123 echo -n 'VERSION (X.y.z):'
Matthias Bussonnier
add release helper
r24981 read VERSION
Matthias Bussonnier
update relase toom and mailmap
r25123 echo -n 'branch (master|X.y):'
Matthias Bussonnier
add release helper
r24981 read branch
Matthias Bussonnier
release 7.6.0
r25128 RED=$(tput setaf 1)
NOR=$(tput sgr0)
Matthias Bussonnier
more updates to documentation aud automation
r24982 echo
Matthias Bussonnier
add release helper
r24981 echo "updating what's new with informations from docs/source/whatsnew/pr"
python tools/update_whatsnew.py
Matthias Bussonnier
more updates to documentation aud automation
r24982 echo
Matthias Bussonnier
release 7.5.0
r25016 echo "please move the contents of "docs/source/whatsnew/development.rst" to version-X.rst"
Matthias Bussonnier
more updates to documentation aud automation
r24982 echo "Press enter to continue"
read
echo
Matthias Bussonnier
add release helper
r24981 echo "here are all the authors that contributed to this release:"
git log --format="%aN <%aE>" $PREV_RELEASE... | sort -u -f
Matthias Bussonnier
more updates to documentation aud automation
r24982 echo
Matthias Bussonnier
add release helper
r24981 echo "If you see any duplicates cancel (Ctrl-C), then edit .mailmap" Press enter to continue
read
echo "generating stats"
python tools/github_stats.py --milestone $MILESTONE > stats.rst
echo "stats.rst files generated. Please merge it with the right file (github-stats-X.rst)"
echo "press enter to continue."
read
echo "Cleaning repository"
git clean -xfdi
Matthias Bussonnier
Add stats and some early checks in release script
r25157 echo "please update version number in ${RED}IPython/core/release.py${NOR} , Do not commit yet – we'll do it later."
Matthias Bussonnier
add release helper
r24981
echo "Press enter to continue"
read
Matthias Bussonnier
more updates to documentation aud automation
r24982
echo
echo "Attempting to build the docs.."
make html -C docs
echo
echo "Check the docs, press enter to continue"
read
echo
echo "Attempting to build package..."
tools/build_release
Matthias Bussonnier
release 7.6.0
r25128 echo
echo "Let\'s commit : git commit -am \"release $VERSION\" -S"
Matthias Bussonnier
back to development
r25159 echo $"Press enter to continue"
read
git commit -am "release $VERSION" -S
echo
echo "git push origin \$BRANCH ?"
Matthias Bussonnier
release 7.6.0
r25128 echo "Press enter to continue"
read
Matthias Bussonnier
back to development
r25159 git push origin $BRANCH
# git tag -am "release $VERSION" "$VERSION" -s
# git push origin $VERSION
Matthias Bussonnier
release 7.6.0
r25128