Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Release workflow #145

Merged
merged 42 commits into from
Nov 6, 2023
Merged

Release workflow #145

merged 42 commits into from
Nov 6, 2023

Conversation

igiloh-pinecone
Copy link
Contributor

@igiloh-pinecone igiloh-pinecone commented Nov 6, 2023

Solution

Created a CI workflow that publishes a release. The workflow is dispatched manually, and then it does:

  1. Bump the version
  2. Build a .whl (we can build one for all OSes and all Python3 versions, since we don't have any specific dependencies \ binaries)
  3. Run a CI workflow that pip installs the whl on all OSes and Python versions, then runs UTs
  4. Commits the Version change
  5. (Optional) Creates a new release/<version> branch
  6. Creates a new GitHub Release + Tag. Uses the CHANGELOG.md as descirption
  7. Pushes to PyPI or TestPyPI

Type of Change

  • Infrastructure change (CI configs, etc)

Will be used to build wheels, then we'll publish them
No need to build separately on each OS, since it's pure python code
Let's see if that helps
Makes more sense - this way we can control the version etc
Still partial, WIP
WE don't build per OS anymore
Maybe this will work...
Will be used for releases
Not sure if this is really needed
@igiloh-pinecone igiloh-pinecone changed the base branch from dev to main November 6, 2023 16:29
@igiloh-pinecone igiloh-pinecone added this pull request to the merge queue Nov 6, 2023
Copy link
Contributor

@miararoy miararoy left a comment

Choose a reason for hiding this comment

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

looking good

Merged via the queue into main with commit dd7c5d4 Nov 6, 2023
10 checks passed
@igiloh-pinecone igiloh-pinecone deleted the release_workflow branch November 6, 2023 16:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants