Skip to content

Commit

Permalink
fix publish version depending on release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
janthoXO committed Jul 17, 2024
1 parent 5d33261 commit 1878108
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ tasks {
patchPluginXml {
sinceBuild.set(properties("pluginSinceBuild").get())
// Orion Plugin version. Needs to be incremented for every new release!
version.set(properties("pluginVersion").get())
version.set(
environment("PLUGIN_VERSION")
.getOrElse(properties("pluginVersion").get())
)
changeNotes.set(
"""<p>
<h2>Improvements</h2>
Expand Down

0 comments on commit 1878108

Please sign in to comment.