From 9e6359b15a2e1f70293057204ef2c202c44ab4dc Mon Sep 17 00:00:00 2001 From: RoboMWM Date: Sun, 11 Aug 2019 15:25:11 -0700 Subject: [PATCH] add commit hash to dev builds --- pom.xml | 18 +++++++++++++++++- src/main/resources/plugin.yml | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f98cf3e..45cff3e 100644 --- a/pom.xml +++ b/pom.xml @@ -50,6 +50,23 @@ + + + + pl.project13.maven + git-commit-id-plugin + 3.0.0 + + + get-the-git-infos + + revision + + validate + + + + @@ -97,7 +114,6 @@ - diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 0f95ad2..1c4053c 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -3,7 +3,7 @@ main: me.ryanhamshire.GriefPrevention.GriefPrevention softdepend: [Vault, Multiverse-Core, My_Worlds, MystCraft, Transporter, TheUnderground, WorldGuard, WorldEdit, RoyalCommands, MultiWorld, Denizen, Hyperconomy] dev-url: https://dev.bukkit.org/projects/grief-prevention loadbefore: [TheUnderground] -version: '${project.version}' +version: '${project.version}-${git.commit.id.abbrev}' api-version: '1.14' commands: abandonclaim: