Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bump to 3.0.2-SNAPSHOT for next dev
  • Loading branch information
aikar committed Oct 29, 2016
1 parent 6beff2b commit 8034bb9
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
6 changes: 3 additions & 3 deletions bukkit/pom.xml
Expand Up @@ -28,12 +28,12 @@
<parent>
<groupId>co.aikar</groupId>
<artifactId>taskchain-parent</artifactId>
<version><!--VERSION-->3.0.1<!--VERSION--></version>
<version><!--VERSION-->3.0.2-SNAPSHOT<!--VERSION--></version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>taskchain-bukkit</artifactId>
<version><!--VERSION-->3.0.1<!--VERSION--></version>
<version><!--VERSION-->3.0.2-SNAPSHOT<!--VERSION--></version>
<packaging>jar</packaging>
<name>TaskChain (Bukkit)</name>

Expand All @@ -48,7 +48,7 @@
<dependency>
<groupId>co.aikar</groupId>
<artifactId>taskchain-core</artifactId>
<version><!--VERSION-->3.0.1<!--VERSION--></version>
<version><!--VERSION-->3.0.2-SNAPSHOT<!--VERSION--></version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
Expand Down
4 changes: 2 additions & 2 deletions core/pom.xml
Expand Up @@ -28,12 +28,12 @@
<parent>
<groupId>co.aikar</groupId>
<artifactId>taskchain-parent</artifactId>
<version><!--VERSION-->3.0.1<!--VERSION--></version>
<version><!--VERSION-->3.0.2-SNAPSHOT<!--VERSION--></version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>taskchain-core</artifactId>
<version><!--VERSION-->3.0.1<!--VERSION--></version>
<version><!--VERSION-->3.0.2-SNAPSHOT<!--VERSION--></version>
<packaging>jar</packaging>
<name>TaskChain (Core)</name>
</project>
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -25,7 +25,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>co.aikar</groupId>
<artifactId>taskchain-parent</artifactId>
<version><!--VERSION-->3.0.1<!--VERSION--></version>
<version><!--VERSION-->3.0.2-SNAPSHOT<!--VERSION--></version>
<packaging>pom</packaging>
<name>TaskChain (All)</name>
<url>https://taskchain.emc.gs</url>
Expand Down
6 changes: 3 additions & 3 deletions sponge/pom.xml
Expand Up @@ -28,12 +28,12 @@
<parent>
<groupId>co.aikar</groupId>
<artifactId>taskchain-parent</artifactId>
<version><!--VERSION-->3.0.1<!--VERSION--></version>
<version><!--VERSION-->3.0.2-SNAPSHOT<!--VERSION--></version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>taskchain-sponge</artifactId>
<version><!--VERSION-->3.0.1<!--VERSION--></version>
<version><!--VERSION-->3.0.2-SNAPSHOT<!--VERSION--></version>
<packaging>jar</packaging>
<name>TaskChain (Sponge)</name>
<repositories>
Expand All @@ -53,7 +53,7 @@
<dependency>
<groupId>co.aikar</groupId>
<artifactId>taskchain-core</artifactId>
<version><!--VERSION-->3.0.1<!--VERSION--></version>
<version><!--VERSION-->3.0.2-SNAPSHOT<!--VERSION--></version>
</dependency>
<dependency>
<groupId>org.spongepowered</groupId>
Expand Down
12 changes: 9 additions & 3 deletions version.sh
Expand Up @@ -4,9 +4,15 @@ if [ $# -lt 1 ]; then
exit 1
fi
ver=$1
function updateVersion {
sed -i -e "s/<!--VERSION-->.*\?<!--VERSION-->/<!--VERSION-->$ver<!--VERSION-->/g" $1
}


files=(*/pom.xml pom.xml README.md)
files=(*/pom.xml pom.xml)
for f in "${files[@]}"; do
sed -i -e "s/<!--VERSION-->.*\?<!--VERSION-->/<!--VERSION-->$ver<!--VERSION-->/g" $f
updateVersion $f
done

if [[ "$ver" != *-SNAPSHOT ]]; then
updateVersion README.md
fi

0 comments on commit 8034bb9

Please sign in to comment.