scripts/draft-release.sh: add missing quotes

This commit is contained in:
Igor 2022-10-31 14:15:49 +02:00 committed by GitHub
parent 80bfa55b8e
commit 982b9a1844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ FOLDER="${2-}"
echo "Drafting release"
current_release_version=$(echo "$TAG" | cut -d '.' -f 1-2)
previous_release_version=$(git describe --tags $(git rev-list --exclude='*rc*' --exclude=$current_release_version* --tags --max-count=1))
previous_release_version=$(git describe --tags $(git rev-list --exclude='*rc*' --exclude="$current_release_version*" --tags --max-count=1))
changelog=$(python changelog.py "$previous_release_version" "$TAG" 2>&1)
github-release release --user storj --repo storj --tag "$TAG" --description "$changelog" --draft