heitorpolidoro / bartholomew-smith

Your butler for managing your GitHub repositories
https://bartholomew-smith.vercel.app
MIT License
1 stars 0 forks source link

relative release (major, minor, bugfix/patch) #80

Closed bartholomew-smith[bot] closed 7 months ago

bartholomew-smith[bot] commented 8 months ago

relative release (major, minor, bugfix/patch)

Closes #77

pr-explainer-bot[bot] commented 8 months ago

Pull Request Report

Hey there! I've analyzed the code changes in the pull request and here's the report for you:

Changes

  1. Added a new file src/helpers/release.py with some helper functions and constants.
  2. Modified the file src/managers/release.py to handle release commands and update check runs accordingly.
  3. Added test cases for the new helper functions in tests/helpers/test_release.py and tests/managers/test_release.py.

Suggestions

new_release = [str(int(version) + 1) if i == relative_version_index else version for i, version in enumerate(last_release_split[:relative_version_index + 1])]

Bugs

Improvements

Rating

I would rate the code a 7 out of 10. The code is generally readable and well-structured. The use of helper functions and test cases is commendable. However, there are some areas where the code could be improved for better readability and error handling.

That's it for the report! Let me know if you need any further assistance. Good luck with your pull request! 👍

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud