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 GitHub workflow files for test PyPI and GitHub release #95

Merged
merged 8 commits into from
Oct 8, 2024

Conversation

bobleesj
Copy link
Contributor

@bobleesj bobleesj commented Oct 7, 2024

Could you please merge this to pypi-build instead of main?

Testing will be done using Test PyPI only.

@bobleesj
Copy link
Contributor Author

bobleesj commented Oct 7, 2024

Screenshot 2024-10-07 at 6 44 26 PM

@sbillinge I have done some testing using my own package. Hope to test on diffpy.snmf before we make changes to all other packages.

Tagging @alisnwu - your script will be used to insert the .yml file to each repo.

@bobleesj bobleesj marked this pull request as ready for review October 7, 2024 22:48
permissions:
contents: write
jobs:
build-package:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Produce wheel/sdist, have them available under dist


update-changelog:
needs: [build-package]
if: "!contains(github.ref, 'rc')"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

if it has no rc, then update CHANGELOG.rst

body_path: CHANGELOG.txt
draft: true

pypi-publish:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Upload to pypi - right now test.pypi is used for testing.

@sbillinge sbillinge changed the base branch from main to pypi-build October 8, 2024 13:42
@sbillinge sbillinge merged commit 777be23 into diffpy:pypi-build Oct 8, 2024
3 checks passed
@bobleesj bobleesj deleted the pypi-build branch October 8, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants