Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflow actions for automated release to PyPI #1373

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

alejoe91
Copy link
Contributor

@alejoe91 alejoe91 commented Jan 24, 2024

As discussed, this PR adds two actions for releasing NEO:

  1. Release to Test PyPI: this action is run at every tag and it:

    • checks that neo.__version__ corresponds to the tag
    • uploads to Test PyPI (added an environment secret TEST_PYPI_API_TOKEN)
  2. Release to real PyPI: this action needs to be triggered manually (after the test pypi action succeeded), to upload to PyPI

@apdavison can you add me as maintainer of the neo package on Test PyPI?

@apdavison
Copy link
Member

can you add me as maintainer of the neo package on Test PyPI?

invitation sent @alejoe91

@alejoe91 alejoe91 added this to the 0.13.0 milestone Jan 26, 2024
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m build --sdist --wheel
twine upload --repository testpypi dist/*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this shouldn't mention "testpypi"

@apdavison apdavison merged commit c7480d9 into NeuralEnsemble:master Jan 26, 2024
41 checks passed
@zm711 zm711 mentioned this pull request Feb 3, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants