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

Feat/publish pypi #14

Merged
merged 5 commits into from
May 17, 2024
Merged

Feat/publish pypi #14

merged 5 commits into from
May 17, 2024

Conversation

Fovty
Copy link
Member

@Fovty Fovty commented May 16, 2024

Motivation

This PR aims to enhance the build and publish workflow for the new-pykube project by automating the package publishing process to both Test PyPI and PyPI using GitHub Actions and API tokens. This change improves security and efficiency by leveraging GitHub Secrets for authentication and ensures a seamless deployment process.

Changes

  • Workflow Update: Modified the build-publish-package.yaml to include steps for publishing to Test PyPI using API tokens.
  • Version Bump: Updated the package version in pyproject.toml from 23.6.0 to 24.5.0.
  • Authors Update: Updated the authors list in pyproject.toml.

Tests done

  • Verified that the workflow runs successfully with the updated steps.
  • Tested package upload to Test PyPI using the generated API token.
  • Ensured that the package version and author information are correctly updated.

TODO

  • I've assigned myself to this PR

References

@Fovty Fovty self-assigned this May 16, 2024
@Fovty Fovty added enhancement New feature or request feature labels May 16, 2024
@Fovty
Copy link
Member Author

Fovty commented May 16, 2024

Job ran successfully on test:

Package manually released on production PyPI for now. (24.5.1 can be triggered by tag creation):

Copy link
Member

@JTaeuber JTaeuber left a comment

Choose a reason for hiding this comment

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

LGTM

@Fovty Fovty merged commit bcef436 into main May 17, 2024
2 checks passed
@Fovty Fovty deleted the feat/publish-pypi branch May 17, 2024 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants