Skip to content

Commit

Permalink
Bump version to 1.3.0+dev
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Jun 3, 2024
1 parent eda16ae commit 894f7e8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ shell: ## Open a shell with all development tools
hatch -e default shell

upload: dist ## Package and upload a release to pypi.org
hatch publish
hatch run release:twine upload dist/*

test-upload: dist ## Package and upload a release to test.pypi.org
hatch publish --repo test
hatch run release:twine upload --repository-url https://test.pypi.org/legacy/ dist/*

release: ## Create a new version, package and upload it
hatch -e release run -- python ./scripts/release.py
Expand Down
2 changes: 1 addition & 1 deletion binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ dependencies:
- matplotlib
- pip:
- watermark
- krotov==1.3.0
- git+https://github.com/qucontrol/krotov.git@master#egg=krotov
2 changes: 1 addition & 1 deletion docs/09_examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Examples

.. raw:: html

<a href="http://nbviewer.jupyter.org/github/qucontrol/krotov/blob/v1.3.0/docs/notebooks" target="_blank"><img alt="Render on nbviewer" src="https://img.shields.io/badge/render%20on-nbviewer-orange.svg" style="vertical-align:text-bottom"></a>&nbsp;<a href="https://mybinder.org/v2/gh/qucontrol/krotov/v1.3.0?filepath=docs%2Fnotebooks" target="_blank"><img alt="Launch Binder" src="https://mybinder.org/badge_logo.svg" style="vertical-align:text-bottom"></a>
<a href="http://nbviewer.jupyter.org/github/qucontrol/krotov/blob/master/docs/notebooks" target="_blank"><img alt="Render on nbviewer" src="https://img.shields.io/badge/render%20on-nbviewer-orange.svg" style="vertical-align:text-bottom"></a>&nbsp;<a href="https://mybinder.org/v2/gh/qucontrol/krotov/master?filepath=docs%2Fnotebooks" target="_blank"><img alt="Launch Binder" src="https://mybinder.org/badge_logo.svg" style="vertical-align:text-bottom"></a>

.. toctree::
:maxdepth: 1
Expand Down
2 changes: 2 additions & 0 deletions scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ def get_package_name():
for name in os.listdir('src'):
if 'egg-info' in name:
continue
if '__pycache__' in name:
continue
if os.path.isdir(os.path.join('src', name)):
return name
raise ReleaseError("Cannot find package name")
Expand Down
2 changes: 1 addition & 1 deletion src/krotov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"""
# fmt: off

__version__ = '1.3.0'
__version__ = '1.3.0+dev'

__arxiv__ = '1902.11284'

Expand Down

0 comments on commit 894f7e8

Please sign in to comment.