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
release / build (21) (push) Successful in 11m42s
This commit is contained in:
@@ -5,6 +5,9 @@ on:
|
||||
tags:
|
||||
- "*"
|
||||
|
||||
env:
|
||||
VERSION: "${{github.ref_name}}"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user