update integration tests to new root pom... (#402)
* update integration tests to new root pom version Change-Id: Ic155888a0960ffcd2b26f7bf87373d260f655a2c Signed-off-by: Nick Boldt <nboldt@redhat.com> * fix poms that point to obsolete version 7.58.0-SNAPSHOT Change-Id: I5854752288fec4ea774b27365770558b0d8946db Signed-off-by: Nick Boldt <nboldt@redhat.com> Signed-off-by: Nick Boldt <nboldt@redhat.com>pr-update-base-images-1671237344
parent
23e5b5f891
commit
a0c25fe332
|
|
@ -373,12 +373,20 @@ bumpVersion() {
|
|||
if [[ $RELEASE_CHE_PARENT = "true" ]]; then
|
||||
mvn versions:update-parent -DgenerateBackupPoms=false -DallowSnapshots=true -DparentVersion=[${VERSION_CHE_PARENT}]
|
||||
fi
|
||||
|
||||
# compute current version of root pom
|
||||
current_root_pom_version=$(grep "<che.version>" pom.xml | sed -r -e "s#.+<che.version>([^<>]+)</che.version>.*#\1#")
|
||||
|
||||
mvn versions:set -DgenerateBackupPoms=false -DallowSnapshots=true -DnewVersion=$1
|
||||
sed -i -e "s#<che.version>.*<\/che.version>#<che.version>$1<\/che.version>#" pom.xml
|
||||
pushd typescript-dto >/dev/null
|
||||
sed -i -e "s#<che.version>.*<\/che.version>#<che.version>${1}<\/che.version>#" dto-pom.xml
|
||||
sed -i -e "/<groupId>org.eclipse.che.parent<\/groupId>/ { n; s#<version>.*<\/version>#<version>${VERSION_CHE_PARENT}<\/version>#}" dto-pom.xml
|
||||
popd >/dev/null
|
||||
|
||||
# update integration tests to new root pom version
|
||||
find . -name "pom.xml" -exec sed -i {} -r -e "s@<version>${current_root_pom_version}</version>@<version>$1</version>@g" \;
|
||||
|
||||
# run mvn license format, in case some files that have old license headers have been updated
|
||||
mvn license:format
|
||||
commitChangeOrCreatePR $1 $2 "pr-${2}-to-${1}"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<parent>
|
||||
<artifactId>integration-tests-parent</artifactId>
|
||||
<groupId>org.eclipse.che.core</groupId>
|
||||
<version>7.58.0-SNAPSHOT</version>
|
||||
<version>7.59.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>cascade-removal</artifactId>
|
||||
<name>Integration Tests :: Cascade Removal</name>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<parent>
|
||||
<artifactId>integration-tests-parent</artifactId>
|
||||
<groupId>org.eclipse.che.core</groupId>
|
||||
<version>7.58.0-SNAPSHOT</version>
|
||||
<version>7.59.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>mysql-tck</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<parent>
|
||||
<artifactId>che-master-parent</artifactId>
|
||||
<groupId>org.eclipse.che.core</groupId>
|
||||
<version>7.58.0-SNAPSHOT</version>
|
||||
<version>7.59.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<artifactId>integration-tests-parent</artifactId>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<parent>
|
||||
<artifactId>integration-tests-parent</artifactId>
|
||||
<groupId>org.eclipse.che.core</groupId>
|
||||
<version>7.58.0-SNAPSHOT</version>
|
||||
<version>7.59.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>postgresql-tck</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
|
|
|||
Loading…
Reference in New Issue