This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This script fetches the two most recent, distinct semantic version tags from a Git repository | |
and generates a comparison URL between them, suitable for GitHub repositories. | |
This can help developers to quickly check their changes before releasing a Prod version. | |
Output of the script: | |
Comparison URL: https://github.com/[your-github-name]/[your-repo]/compare/4.4.2-rc1...4.4.3-rc2 | |
""" |
OlderNewer