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

Automate releases on Github and PYPI #956

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

blackHatMonkey
Copy link
Member

Since @sophron didn't trust other projects to handle the update I decided to write our own. This is a simple script that will:

  1. Figure out the version bump: It uses the commit messages since last tag to determine if a version bump is needed or not. For simplicity I choose angular commit convention but any other format is possible.
  2. Bumps the version: Updates all the files with the new version
  3. Generate change log: Generates a new change log using the commit messages
  4. Commits changes and creates a new tag
  5. Creates a new Github release and uses the new change log as it's content
  6. Create a new PYPI version
  7. Upload to PYPI

Add deploy script to help automate the version bump and deployment.
@blackHatMonkey
Copy link
Member Author

@sophron @anakin1028 I have done a lot testing with this which you can see here

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.

None yet

1 participant