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
#!/usr/bin/env bash | |
# Generates a changelog between tagged releases. Collects commits of pull requests, major, and bugfix tags | |
repository_url="https://bitbucket.org/MYPROJECT/MYREPO" | |
function generate_changelog() { | |
previous_tag=0 | |
for current_tag in $(git tag --sort=-creatordate) | |
do | |
if [ "$previous_tag" != 0 ];then |