Skip to content

Commit

Permalink
Publish neuro-extras (#606)
Browse files Browse the repository at this point in the history
* Publish neuro-extras

* changelog
  • Loading branch information
YevheniiSemendiak authored Aug 9, 2024
1 parent e09f0ca commit 4bd5c3f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,17 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
twine upload dist/*
- name: Make neuro dists
run: |
rm -r dist build
sed -i 's/apolo-extras/neuro-extras/g' setup.py
python setup.py sdist bdist_wheel
- name: PyPI upload
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_NEURO_TOKEN }}
run: |
twine upload dist/*
dockerhub_deploy:
name: Release image if needed
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

[comment]: # (towncrier release notes start)

apolo-extras v24.8.0 (2024-08-09)
=================================


- Publish neuro-extras for backward compatibility too.


apolo-extras v24.7.0 (2024-07-21)
=================================

Expand Down
2 changes: 1 addition & 1 deletion apolo_extras/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "24.7.0"
__version__ = "24.8.0"
4 changes: 2 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apolo-cli==24.7.1
apolo-sdk==24.7.1
apolo-cli==24.8.1
apolo-sdk==24.8.1
click==8.1.2
pyyaml==6.0.1
toml==0.10.2
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from setuptools import find_packages, setup


DIST_NAME = "apolo-extras"

with open("apolo_extras/version.py") as f:
txt = f.read()
try:
Expand All @@ -12,20 +14,20 @@


setup(
name="apolo-extras",
name=DIST_NAME,
version=version,
python_requires=">=3.8.0",
url="https://github.com/neuro-inc/neuro-extras",
packages=find_packages(),
install_requires=[
"apolo-cli>=24.7.1",
"apolo-cli>=24.8.1",
"click>=8.0",
"toml>=0.10.0",
"pyyaml>=3.0",
],
entry_points={
"console_scripts": ["apolo-extras=apolo_extras:main"],
"apolo_api": ["apolo-extras=apolo_extras:setup_plugin"],
"console_scripts": [f"{DIST_NAME}=apolo_extras:main"],
"apolo_api": [f"{DIST_NAME}=apolo_extras:setup_plugin"],
},
zip_safe=False,
include_package_data=True,
Expand Down

0 comments on commit 4bd5c3f

Please sign in to comment.