Closed Naeemedmo closed 1 year ago
please note that while I was trying to debug my pipeline, I changed the condition and made a tag, Github release and Pypi release. The release pipeline will only run on master after merging this branch.
LGTM. Good work!
How does it work? Does it look for new tags, or is release a manual process?
Everything runs automatically (as I am very lazy and forgetful, I thought its much easier if we don't have to take care of those steps). If you check the latest tag and release (Github/Pypi) they are created by this pipeline. I only changed the condition for the release pipeline to be able to trigger it (removed github.ref == master check on the main.yaml ) So as soon as a pyproject.toml with a new version is merged into the master, the release pipeline will be triggered to make tag, upload to pypi and create a new GitHub release
main workflow with two workflows: (reusable workflow concept) test-and-build:
release: only on master with skip_release = NO