mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 00:31:07 -05:00
remove typo
This commit is contained in:
parent
bbac482a6e
commit
f2cf6f4ee1
1 changed files with 1 additions and 6 deletions
|
@ -112,12 +112,7 @@ ValidateInput()
|
||||||
###################################
|
###################################
|
||||||
# Remove non alpha-numberic chars #
|
# Remove non alpha-numberic chars #
|
||||||
###################################
|
###################################
|
||||||
BRANCH_NAME=$(echo "$BRANCH_NAME" | tr -cd '[:alnum:]')
|
IMAGE_VERSION=$(echo "$IMAGE_VERSION" | tr -cd '[:alnum:]')
|
||||||
|
|
||||||
############################################
|
|
||||||
# Set the IMAGE_VERSION to the BRANCH_NAME #
|
|
||||||
############################################
|
|
||||||
IMAGE_VERSION="$BRANCH_NAME"
|
|
||||||
else
|
else
|
||||||
#############################################
|
#############################################
|
||||||
# Image is 'latest' and we will not destroy #
|
# Image is 'latest' and we will not destroy #
|
||||||
|
|
Loading…
Reference in a new issue