File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,8 +42,15 @@ if [ ! -f ${PROJECT_ROOT}/LICENSE.txt ]; then
4242fi
4343
4444cd ${PROJECT_ROOT} /flink-doris-connector
45- mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${RELEASE_VERSION}
46- mvn versions:set-property -DgenerateBackupPoms=false -Dproperty=revision -DnewVersion=${RELEASE_VERSION}
45+
46+ # update version
47+ mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${RELEASE_VERSION} -Pflink1,flink2
48+
49+ # versions:set because of artifactId duplicate problem cannot identify flink1, manually update
50+ sed -i ' ' " s/\$ {revision}/${RELEASE_VERSION} /g" flink-doris-connector-flink1/pom.xml
51+
52+ # update revision property in parent pom
53+ mvn versions:set-property -DgenerateBackupPoms=false -Dproperty=revision -DnewVersion=${RELEASE_VERSION} -Pflink1
4754
4855git commit -am " [release] Update version to ${RELEASE_VERSION} "
4956
You can’t perform that action at this time.
0 commit comments