diff --git a/README.md b/README.md index 178502ae5..6e5f04a7b 100644 --- a/README.md +++ b/README.md @@ -93,17 +93,22 @@ You can add LuckPerms as a Maven dependency by adding the following to your proj me.lucko.luckperms luckperms-api - 1.5 + 2.0 ```` -## Commands +## Versioning +As of version 2.0, LuckPerms roughly follows the standards set out in Semantic Versioning. +The only difference is that patch number is not included anywhere within the pom, and is calculated each build, based upon how may commits have been made since the last tag. (A new tag is made every minor version) + +This means that API versions do not have a patch number (as no API changes are made in patches). API versions will be x.y, and each individual build of LuckPerms will follow x.y.z. + +## Commands Command usage is printed to the console/chat whenever invalid arguments are provided. Simply typing /perms will list all commands a user has permission to use. ### Aliases - | Bukkit | Bungee | |------------------|------------------| | /luckperms | /luckpermsbungee | @@ -179,4 +184,4 @@ Additionally, you can use wildcards to grant users access to a selection of comm * /perms track \ clear - luckperms.track.clear ## License -See LICENSE.md. +See LICENSE.md. \ No newline at end of file diff --git a/api/pom.xml b/api/pom.xml index 56064edd4..bbd16cab5 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -5,7 +5,7 @@ luckperms me.lucko.luckperms - 1.5 + 2.0 4.0.0 diff --git a/bukkit/pom.xml b/bukkit/pom.xml index 0a44db72f..9547cb0d2 100644 --- a/bukkit/pom.xml +++ b/bukkit/pom.xml @@ -5,7 +5,7 @@ luckperms me.lucko.luckperms - 1.5 + 2.0 4.0.0 @@ -14,7 +14,7 @@ clean package - LuckPerms + LuckPerms-${project.version}.${git.closest.tag.commit.count} ${basedir}/src/main/java @@ -58,6 +58,21 @@ + + pl.project13.maven + git-commit-id-plugin + 2.2.1 + + + + revision + + + + + true + + diff --git a/bukkit/src/main/resources/plugin.yml b/bukkit/src/main/resources/plugin.yml index ce6ce1635..be0ab7ff7 100644 --- a/bukkit/src/main/resources/plugin.yml +++ b/bukkit/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: LuckPerms author: Luck -version: ${project.version} +version: ${project.version}.${git.closest.tag.commit.count} main: me.lucko.luckperms.LPBukkitPlugin softdepend: [Vault] description: A permissions plugin diff --git a/bungee/pom.xml b/bungee/pom.xml index a37a28d7f..76e58ddab 100644 --- a/bungee/pom.xml +++ b/bungee/pom.xml @@ -1,33 +1,11 @@ - - luckperms me.lucko.luckperms - 1.5 + 2.0 4.0.0 @@ -36,7 +14,7 @@ clean package - LuckPermsBungee + LuckPermsBungee-${project.version}.${git.closest.tag.commit.count} ${basedir}/src/main/java @@ -80,6 +58,21 @@ + + pl.project13.maven + git-commit-id-plugin + 2.2.1 + + + + revision + + + + + true + + diff --git a/bungee/src/main/resources/plugin.yml b/bungee/src/main/resources/plugin.yml index bc7ea4661..8b7dffe3e 100644 --- a/bungee/src/main/resources/plugin.yml +++ b/bungee/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: LuckPerms author: Luck -version: ${project.version} +version: ${project.version}.${git.closest.tag.commit.count} main: me.lucko.luckperms.LPBungeePlugin description: A permissions plugin \ No newline at end of file diff --git a/common/pom.xml b/common/pom.xml index f24e3a9b8..29c6a407f 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -5,7 +5,7 @@ luckperms me.lucko.luckperms - 1.5 + 2.0 4.0.0 diff --git a/pom.xml b/pom.xml index 0705ab297..766425688 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.lucko.luckperms luckperms - 1.5 + 2.0 common api diff --git a/sponge/pom.xml b/sponge/pom.xml index 78888e84f..435942f85 100644 --- a/sponge/pom.xml +++ b/sponge/pom.xml @@ -5,7 +5,7 @@ luckperms me.lucko.luckperms - 1.5 + 2.0 4.0.0 @@ -14,7 +14,7 @@ clean package - LuckPermsSponge + LuckPermsSponge-${project.version}.${git.closest.tag.commit.count} ${basedir}/src/main/java @@ -70,7 +70,7 @@ version - ${project.version} + ${project.version}.${git.closest.tag.commit.count} @@ -92,6 +92,21 @@ + + pl.project13.maven + git-commit-id-plugin + 2.2.1 + + + + revision + + + + + true + +