Change the versioning system to use tags for actual release versioning. Manually built will always be labeled as dev version.
release / build (21) (push) Successful in 11m42s

This commit is contained in:
2025-01-01 02:42:54 -07:00
parent 4fcb113b2f
commit f3ce6defad
3 changed files with 8 additions and 1 deletions
+3
View File
@@ -5,6 +5,9 @@ on:
tags:
- "*"
env:
VERSION: "${{github.ref_name}}"
jobs:
build:
strategy:
+4
View File
@@ -3,6 +3,10 @@ plugins {
id 'maven-publish'
}
if (System.getenv("VERSION")) {
project.mod_version = System.getenv("VERSION")
}
version = "${project.mod_version}-${project.minecraft_version}"
group = project.maven_group
+1 -1
View File
@@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.10
loader_version=0.16.7
# Mod Properties
mod_version=1.1.0
mod_version=dev
maven_group=dev.bigduckie
archives_base_name=static-data