diff --git a/resources/build.sh b/resources/build.sh index 83a25be..371894a 100755 --- a/resources/build.sh +++ b/resources/build.sh @@ -1,6 +1,8 @@ #!/bin/bash +set -eux function changelog(){ + current_tag=$(git describe --tags --abbrev=0) previous_tag=$(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1)) git log ${previous_tag}..${current_tag} --reverse --pretty=format:"%B" | nl -w2 -s". " > CHANGELOG.txt