Update update-version.sh

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
pull/139/head
Muhammad Atif Ali 1 year ago committed by GitHub
parent d88c65becf
commit bf298551b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8,7 +8,7 @@ set -euo pipefail
current_tag=$(git describe --tags --abbrev=0)
previous_tag=$(git describe --tags --abbrev=0 $current_tag^)
changed_files=$(git diff --name-only "$previous_tag" "$current_tag")
mapfile -t changed_files < <(git diff --name-only "$previous_tag" "$current_tag" | xargs dirname | sort -u | grep -v '^\.')
changed_dirs=()
for file in $changed_files; do

Loading…
Cancel
Save