diff --git a/client/pom.xml b/client/pom.xml
index 6473851..6912333 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -5,7 +5,7 @@
ace-of-shades-2
nl.andrewl
- 1.0-SNAPSHOT
+ 1.0.0
4.0.0
diff --git a/core/pom.xml b/core/pom.xml
index a45f2f6..0e9a9bf 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -5,7 +5,7 @@
ace-of-shades-2
nl.andrewl
- 1.0-SNAPSHOT
+ 1.0.0
4.0.0
diff --git a/pom.xml b/pom.xml
index 324b911..85024e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
nl.andrewl
ace-of-shades-2
pom
- 1.0-SNAPSHOT
+ 1.0.0
core
server
diff --git a/server/pom.xml b/server/pom.xml
index a2a44f9..de32168 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -5,7 +5,7 @@
ace-of-shades-2
nl.andrewl
- 1.0-SNAPSHOT
+ 1.0.0
4.0.0
diff --git a/setversion.d b/setversion.d
index 70fc9d0..326639c 100755
--- a/setversion.d
+++ b/setversion.d
@@ -10,6 +10,7 @@ module setversion;
import std.stdio;
import std.file : write, readText;
+import std.process;
void main() {
string newVersion = getMainVersion();
@@ -20,6 +21,9 @@ void main() {
write(pomFile, xml);
writefln!"Updated %s to version %s"(pomFile, newVersion);
}
+ writeln("Running mvn clean test on updated projects.");
+ auto pid = spawnShell("mvn clean test", stdin, stdout, stderr);
+ wait(pid);
}
string getMainVersion() {