Skip to content

Commit

Permalink
[hotfix] Aligning project version to the semantic versioning standard (
Browse files Browse the repository at this point in the history
klion26 authored Apr 24, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 5643696 commit 59d9846
Showing 34 changed files with 64 additions and 33 deletions.
2 changes: 1 addition & 1 deletion amoro-ams/amoro-ams-api/pom.xml
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-ams</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
</parent>

<artifactId>amoro-ams-api</artifactId>
2 changes: 1 addition & 1 deletion amoro-ams/amoro-ams-dashboard/pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-ams</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
</parent>

<artifactId>amoro-ams-dashboard</artifactId>
2 changes: 1 addition & 1 deletion amoro-ams/amoro-ams-metric-reporter/pom.xml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-ams</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
</parent>

<artifactId>amoro-ams-metric-reporter</artifactId>
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
<parent>
<artifactId>amoro-ams-metric-reporter</artifactId>
<groupId>org.apache.amoro</groupId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
2 changes: 1 addition & 1 deletion amoro-ams/amoro-ams-optimizer/common/pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<artifactId>amoro-ams-optimizer</artifactId>
<groupId>org.apache.amoro</groupId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
2 changes: 1 addition & 1 deletion amoro-ams/amoro-ams-optimizer/flink-optimizer/pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<artifactId>amoro-ams-optimizer</artifactId>
<groupId>org.apache.amoro</groupId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
2 changes: 1 addition & 1 deletion amoro-ams/amoro-ams-optimizer/pom.xml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-ams</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
</parent>

<artifactId>amoro-ams-optimizer</artifactId>
2 changes: 1 addition & 1 deletion amoro-ams/amoro-ams-optimizer/spark-optimizer/pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<artifactId>amoro-ams-optimizer</artifactId>
<groupId>org.apache.amoro</groupId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
2 changes: 1 addition & 1 deletion amoro-ams/amoro-ams-optimizer/standalone-optimizer/pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<artifactId>amoro-ams-optimizer</artifactId>
<groupId>org.apache.amoro</groupId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
2 changes: 1 addition & 1 deletion amoro-ams/amoro-ams-server/pom.xml
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-ams</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
</parent>

<artifactId>amoro-ams-server</artifactId>
2 changes: 1 addition & 1 deletion amoro-ams/dist/pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-ams</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
</parent>

<artifactId>dist</artifactId>
2 changes: 1 addition & 1 deletion amoro-ams/pom.xml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-parent</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
</parent>

<artifactId>amoro-ams</artifactId>
2 changes: 1 addition & 1 deletion amoro-core/pom.xml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-parent</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format-flink</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format-flink</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format-flink</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

2 changes: 1 addition & 1 deletion amoro-mixed-format/amoro-mixed-format-flink/pom.xml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format-flink</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format-flink</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format-flink</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format-flink</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format-flink</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format-flink</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

2 changes: 1 addition & 1 deletion amoro-mixed-format/amoro-mixed-format-hive/pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format-spark</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

2 changes: 1 addition & 1 deletion amoro-mixed-format/amoro-mixed-format-spark/pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
</parent>

<artifactId>amoro-mixed-format-spark</artifactId>
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<artifactId>amoro-mixed-format-spark</artifactId>
<groupId>org.apache.amoro</groupId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<artifactId>amoro-mixed-format-spark</artifactId>
<groupId>org.apache.amoro</groupId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<artifactId>amoro-mixed-format-spark</artifactId>
<groupId>org.apache.amoro</groupId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<artifactId>amoro-mixed-format-spark</artifactId>
<groupId>org.apache.amoro</groupId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
2 changes: 1 addition & 1 deletion amoro-mixed-format/amoro-mixed-format-trino/pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.amoro</groupId>
<artifactId>amoro-mixed-format</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
</parent>

<artifactId>amoro-mixed-format-trino</artifactId>
2 changes: 1 addition & 1 deletion amoro-mixed-format/pom.xml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
<parent>
<artifactId>amoro-parent</artifactId>
<groupId>org.apache.amoro</groupId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@

<groupId>org.apache.amoro</groupId>
<artifactId>amoro-parent</artifactId>
<version>0.7.0-SNAPSHOT</version>
<version>0.7-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Amoro Project Parent</name>
31 changes: 31 additions & 0 deletions tools/change-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################

OLD="0.7.0-SNAPSHOT"
NEW="0.7-SNAPSHOT"


HERE=` basename "$PWD"`
if [[ "$HERE" != "tools" ]]; then
echo "Please only execute in the tools/ directory";
exit 1;
fi

# change version in all pom files
find .. -name 'pom.xml' -type f -exec perl -pi -e 's#<version>'"$OLD"'</version>#<version>'"$NEW"'</version>#' {} \;

0 comments on commit 59d9846

Please sign in to comment.