Skip to content

Commit 3f50e04

Browse files
author
Sean Sundberg
committed
Updates Jenkinsfile with logic to make repo name lower case
1 parent 465db0e commit 3f50e04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ spec:
175175
PRE_RELEASE="--preRelease=${BRANCH}"
176176
fi
177177
178-
release-it patch --ci --no-npm ${PRE_RELEASE} \
179-
--hooks.after:release='echo "IMAGE_VERSION=${version}" > ./env-config; echo "IMAGE_NAME=${repo.project}" >> ./env-config' \
180-
--verbose
178+
release-it patch --ci --no-npm ${PRE_RELEASE} \
179+
--hooks.after:release='echo "IMAGE_VERSION=${version}" > ./env-config; echo "IMAGE_NAME=$(echo ${repo.project} | tr '[:upper:]' '[:lower:]')" >> ./env-config' \
180+
--verbose
181181
182182
cat ./env-config
183183
'''

0 commit comments

Comments
 (0)