leverage icon indicating copy to clipboard operation
leverage copied to clipboard

Improve RC workflow: Enhanced validation and error handling in Makefile

Open borland667 opened this issue 9 months ago • 1 comments

What?

  • Improved the bump-test-version target in the Makefile to ensure proper validation of the provided release candidate (RC) versions.
  • Added logic to fetch the latest version and the latest RC version from PyPI.
  • Implemented checks to validate that the provided RC version is either starting from rc0 if no RC versions exist or incrementing the latest RC version from PyPI.
  • Enhanced error handling and messaging to provide clearer feedback during the version bump process.

Why?

  • To ensure that version increments are consistent and follow the existing versioning scheme on PyPI.
  • To prevent invalid RC versions from being set, which could lead to confusion and potential issues during the release process.
  • To automate the version bump process with proper validation, reducing manual errors and improving the release workflow.
  • To provide clear and informative messages to developers when using the Makefile, improving the overall development experience.

References

Before release

Review the checklist here

borland667 avatar May 28 '24 14:05 borland667