Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
Switched to v0.12-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
lvca committed Jun 2, 2016
1 parent 6600914 commit 7a3dc50
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 9 deletions.
20 changes: 20 additions & 0 deletions _base/script/upd_version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
if [ -z "$1" -o -z "$2" -o -z "$3" ]
then
echo "SYNTAX ERROR, USE: upd-version.sh <root-path> <version-from> <version-to>"
exit
fi

echo "Updating version from $2 to $3 in directory $1 and subfolders"

TFILE="/tmp/out.tmp.$$"
for filename in $(grep -r "$2" --include "pom.xml" $1|cut -f 1 -d :)
do
if [ -f $filename -a -r $filename ]; then
#/bin/cp -f $filename ${filename}.old
sed "s/$2/$3/g" "$filename" > $TFILE && mv $TFILE "$filename"
else
echo "Error: Cannot read $filename"
fi
done
/bin/rm $TFILE 2>/dev/null
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-parent</artifactId>
<version>0.11</version>
<version>0.12-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Spring Data OrientDB</name>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-orientdb-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-parent</artifactId>
<version>0.11</version>
<version>0.12-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion spring-data-orientdb-benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-parent</artifactId>
<version>0.11</version>
<version>0.12-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion spring-data-orientdb-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-parent</artifactId>
<version>0.11</version>
<version>0.12-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion spring-data-orientdb-document/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-parent</artifactId>
<version>0.11</version>
<version>0.12-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion spring-data-orientdb-graph/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-parent</artifactId>
<version>0.11</version>
<version>0.12-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion spring-data-orientdb-object/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-parent</artifactId>
<version>0.11</version>
<version>0.12-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-parent</artifactId>
<version>0.11</version>
<version>0.12-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.orientechnologies</groupId>
<artifactId>spring-data-orientdb-parent</artifactId>
<version>0.11</version>
<version>0.12-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit 7a3dc50

Please sign in to comment.