Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
e6464ad8
Commit
e6464ad8
authored
Mar 08, 2016
by
Sylvain Corlay
Browse files
Update release instructions
parent
81dfd2c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
docs/release.rst
docs/release.rst
+16
-9
No files found.
docs/release.rst
View file @
e6464ad8
To release a new version of pybind11:
- Update `pybind11/_version.py` (set release version, remove 'dev')
- `git add` and `git commit`.
- `python setup.py sdist upload`.
- `python setup.py bdist_wheel upload`.
- `git tag -a X.X -m 'Release tag comment'`.
- Update `_version.py` (add 'dev' and increment minor).
- Update version macros in `include/pybind11/common.h`
- `git add` and `git commit`. `git push`. `git push --tags`.
- Update the version number and push to pypi
- Update ``pybind11/_version.py`` (set release version, remove 'dev')
- ``git add`` and ``git commit``.
- ``python setup.py sdist upload``.
- ``python setup.py bdist_wheel upload``.
- Tag the commit and push to anaconda.org
- ``git tag -a X.X -m '[Release comment]'``.
- ``conda-build conda.recipe --output``
This should ouput the path of the generated tar.bz2 for the package
- ``conda-convert --platform all [path/to/tar.bz2] -o .``
- For each platform name, ``anaconda-upload ./platform/tarfile.tar.bz2``
- Get back to work
- Update ``_version.py`` (add 'dev' and increment minor).
- Update version macros in ``include/pybind11/common.h``
- ``git add`` and ``git commit``. ``git push``. ``git push --tags``.
The remote for the last `git push --tags` should be the main repository for
The remote for the last
`
`git push --tags`
`
should be the main repository for
pybind11.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment