feat(exx-Pipeline): add missing mark

This commit is contained in:
Wolfram Gulde 2022-05-06 15:19:09 +02:00 committed by Marcel Feix
parent 08e6519afc
commit 6cccbbacb4
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03

View File

@ -4,7 +4,7 @@
before_script:
# Replace version in Gradle file with $CI_COMMIT_TAG
- >
if [[ "$CI_COMMIT_TAG" != "" && "$PATH_TO_VERSION_FILE != ""]]; then
if [[ "$CI_COMMIT_TAG" != "" && "$PATH_TO_VERSION_FILE" != ""]]; then
export GRADLE_VERSION=$(awk '/^version/{print $NF}' $PATH_TO_VERSION_FILE)
$(sed -i /^version/s/$GRADLE_VERSION/\'$CI_COMMIT_TAG\'/ $PATH_TO_VERSION_FILE)
fi