Skip to content

Commit

Permalink
Added support for LTS suffix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekbogdanski committed Aug 11, 2023
1 parent b083fc1 commit 770fd3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ fi
cd ckeditor/
rev=$(git rev-parse --verify --short HEAD)
CKEDITOR_VERSION=$(node -pe "require('./package.json').version")

# Add suffix for LTS editor version.
if [[ "$@" == *\-\-lts* ]]; then
CKEDITOR_VERSION="${CKEDITOR_VERSION}-lts"
fi

cd ..

versionFolder="${CKEDITOR_VERSION// /-}"
Expand Down

0 comments on commit 770fd3c

Please sign in to comment.