Skip to content

Commit

Permalink
Include branch in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Pheotis committed Sep 25, 2024
1 parent 187af06 commit 3e368bb
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.sgrewritten</groupId>
<artifactId>stargate</artifactId>
<version>1.0.0.19-NIGHTLY</version>
<version>1.0.0.19</version>
<name>Stargate</name>
<description>The original, and still the best, transportation plugin for the Bukkit Ecosystem.</description>
<url>https://sgrewritten.org</url>
Expand Down Expand Up @@ -182,7 +182,7 @@
</dependency>
</dependencies>
<build>
<finalName>Stargate-${project.version}-${git.commit.id.abbrev}</finalName>
<finalName>Stargate-${project.version}-${git.branch.caps}-${git.commit.id.abbrev}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -320,7 +320,21 @@
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
<includeOnlyProperties>
<includeOnlyProperty>^git.commit.id.abbrev</includeOnlyProperty>
<includeOnlyProperty>^git.branch</includeOnlyProperty>
</includeOnlyProperties>
<replacementProperties>
<replacementProperty>
<property>git.branch</property>
<propertyOutputSuffix>caps</propertyOutputSuffix>
<forceValueEvaluation>false</forceValueEvaluation>
<transformationRules>
<transformationRule>
<apply>AFTER</apply>
<action>UPPER_CASE</action>
</transformationRule>
</transformationRules>
</replacementProperty>
</replacementProperties>
<commitIdGenerationMode>full</commitIdGenerationMode>
</configuration>
</plugin>
Expand Down

0 comments on commit 3e368bb

Please sign in to comment.