File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,14 +263,14 @@ pipeline {
263263 // Run simple clean build to verify that at least all parent versions are updated correctly
264264 sh 'mvn clean'
265265 // search for leftover occurrences of the previous release version
266- sh '''#!/bin/bash -e
266+ sh '''#!/bin/bash -xe
267267 matchingFiles=$(grep --recursive --files-with-matches \
268268 --include pom.xml \
269269 --include MANIFEST.MF \
270270 --include feature.xml \
271271 --include \\*.product \
272272 --include \\*.sh \
273- --fixed-strings "${PREVIOUS_RELEASE_VERSION} ")
273+ --perl-regexp "${PREVIOUS_RELEASE_VERSION//./\\\\.}(?!\\d) ")
274274 # The eclipse-platform-parent/pom.xml contains the previous version in the baseline repository variable
275275 if [[ -z "${matchingFiles}" ]] || [[ "${matchingFiles}" == 'eclipse-platform-parent/pom.xml' ]]; then
276276 echo "No unexpected references to previous version ${PREVIOUS_RELEASE_VERSION} found."
You can’t perform that action at this time.
0 commit comments