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

Automated release documentation and pypi distribution #63

Merged
merged 5 commits into from
May 14, 2023

Conversation

mikeywaites
Copy link
Collaborator

This PR implements some release automation to support a standard release workflow supported by github actions.

  • A release-drafter github action has been added that will automatically generate a formatted github release.

  • A release workflow was also added to automate the distribution of the code to pypi when a release is published.

References

#56

Submitter checklist

  • The PR request is well described and justified, including the body and the references
  • The PR title represents the desired changelog entry
  • The repository's code style is followed (see the contributing guide)
  • Test coverage that demonstrates that the change works as expected
  • For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

@mikeywaites mikeywaites added the chore Maintenance label May 13, 2023
@mikeywaites mikeywaites added this to the WireMock Python 3.0 milestone May 13, 2023
Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

The pipeline is a bit unreliable but it will work

Added release-drafter github action which implements the standard
wiremock release template along with a new release action which will
automate to pypi
Dont run automated builds for automated pypi releases
@mikeywaites mikeywaites force-pushed the feature/release-automation branch from ddf64db to 6ce44d9 Compare May 14, 2023 09:15
Setting version to -alpha to allow us to test the
release process without making a commitment to the proper
release of 2.4.0
We are opting to use trusted-publisher feature from pypi
rather than requiring PYPI_TOKEN to be used.
This updated workflow uses pypa/gh-action-pypi-publish@release/v1
marketplace action to handle the publish to pypi
@mikeywaites mikeywaites merged commit c551eb6 into master May 14, 2023
@mikeywaites mikeywaites deleted the feature/release-automation branch May 14, 2023 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants