mirror of
https://github.com/strapi/strapi.git
synced 2025-06-27 00:41:25 +00:00
chore: trim distTag
Update scripts/remove-dist-tag.sh Co-Authored-By: Ben Irvin <ben@innerdvations.com>
This commit is contained in:
parent
88c2b66e8d
commit
3b0c2be74f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user