We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f592f commit bce3cbdCopy full SHA for bce3cbd
scripts/keepSync.sh
@@ -30,7 +30,8 @@ echo "version=$SQLITE_VERSION" > $_BASE_DIR/VERSION
30
cat $_BASE_DIR/VERSION
31
32
echo "Changing version in pom.xml"
33
-sed -ire "s|\(<version>\)\(.*\)\(\-SNAPSHOT<\/version>\)|\1$SQLITE_VERSION\3|g" $_BASE_DIR/pom.xml
+xmlstarlet edit --inplace -N N="http://maven.apache.org/POM/4.0.0" --update "/N:project/N:version" --value "$SQLITE_VERSION" $_BASE_DIR/pom.xml
34
+#sed -ire "s|\(<version>\)\(.*\)\(\-SNAPSHOT<\/version>\)|\1$SQLITE_VERSION\3|g" $_BASE_DIR/pom.xml
35
git add $_BASE_DIR/pom.xml
36
git add $_BASE_DIR/VERSION
37
git commit -m "Prepare for $SQLITE_VERSION"
0 commit comments