This repository was archived by the owner on Apr 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +20
-7
lines changed
Expand file tree Collapse file tree 6 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ release: clean
33 git pull origin master
44 python setup.py sdist bdist_wheel
55 python -m twine upload dist/*
6+
7+ tag :
68 git tag ` python -c " print(__import__('sphinx_search').__version__)" `
79 git push --tags
810
911clean :
1012 rm -rf dist/
1113
12- .PHONY : release clean
14+ .PHONY : release clean tag
Original file line number Diff line number Diff line change 1+ Changelog
2+ =========
3+
4+ .. include :: ../CHANGELOG.rst
Original file line number Diff line number Diff line change @@ -32,12 +32,16 @@ Make sure you have the latest version of these packages:
3232
3333 python -m pip install --upgrade setuptools wheel twine
3434
35- Update the version in ``sphinx_search/__init__.py ``,
36- and run ``make release ``, this will:
35+ - Update the version in ``sphinx_search/__init__.py `` and ``package.json ``.
36+ - Run ``npm run build `` and ``npm run changelog ``.
37+ - Open a pull request with the changes.
38+
39+ After the pull request is merged, run ``make release ``, this will:
3740
3841- Checkout and update your master branch.
3942- Generate the distribution archives in ``dist/ ``.
4043- Upload the archives from ``dist/ `` to PyPI.
41- - Create a tag from ``__version__ `` and push it to GitHub.
44+
45+ Now you can tag the release with ``make tag ``.
4246
4347.. note :: Make sure you don't have any uncommitted changes before releasing.
Original file line number Diff line number Diff line change 1212 testing
1313 js-api-reference
1414 get-involved
15+ changelog
Original file line number Diff line number Diff line change 11{
22 "name" : " sphinx-es-suggest" ,
3- "version" : " 0.0.1 " ,
3+ "version" : " 0.1.0rc3 " ,
44 "description" : " Enable search-as-you-type feature." ,
55 "scripts" : {
6- "build" : " gulp"
6+ "build" : " gulp" ,
7+ "changelog" : " gh-changelog -o readthedocs -r readthedocs-sphinx-search -e '' -f CHANGELOG.rst"
78 },
89 "repository" : {
910 "type" : " git" ,
2627 "gulp-csso" : " ^3.0.1" ,
2728 "gulp-rename" : " ^1.4.0" ,
2829 "gulp-uglify" : " ^3.0.2" ,
29- "run-sequence" : " ^2.2.1"
30+ "run-sequence" : " ^2.2.1" ,
31+ "github-changelog" : " git+https://github.com/agjohnson/github-changelog.git"
3032 },
3133 "browserslist" : [
3234 " last 10 versions" ,
You can’t perform that action at this time.
0 commit comments