chore: trim distTag

Update scripts/remove-dist-tag.sh

Co-Authored-By: Ben Irvin <ben@innerdvations.com>
This commit is contained in:
Josh 2023-03-31 08:35:13 +01:00
parent 88c2b66e8d
commit 3b0c2be74f

View File

@ -7,6 +7,9 @@ set -e
distTag=$DIST_TAG
# trim distTag for whitespace at the start and end
distTag=$(echo "$distTag" | xargs)
if [[ -z "$distTag" ]]; then
echo "Please enter the dist-tag you want to remove"
read -r distTag