release: fabric@0.1.0-beta.4+mc1.20.6

This commit is contained in:
Puqns67 2024-06-03 18:53:35 +08:00
parent 586e7b1ef8
commit ec5eea218c
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
5 changed files with 8 additions and 5 deletions

View File

@ -3,10 +3,10 @@ name: Build
on:
pull_request:
branches:
- 'fabric*'
- fabric
push:
branches:
- 'fabric*'
- fabric
jobs:
build:

View File

@ -2,6 +2,8 @@ name: Release
on:
push:
branches:
- fabric
tags:
- 'fabric@*'

View File

@ -5,6 +5,7 @@ var minecraftVersion: String = property("minecraft_version").toString()
var loaderVersion: String = property("${loaderName}_version").toString()
var modId: String = property("mod_id").toString()
var modName: String = property("mod_name").toString()
var modVersion: String = property("mod_version").toString()
fun getVersionType(version: String): String {
@ -42,7 +43,7 @@ java {
modrinth {
token = System.getenv("MODRINTH_TOKEN") ?: properties["modrinth_token"]?.toString()
projectId = modId
versionName = "${loaderName}@${version}"
versionName = "[${loaderName.uppercase()}][${minecraftVersion}] $modName $modVersion"
versionType = getVersionType(modVersion)
versionNumber = modVersion
uploadFile = tasks.remapJar as Any

View File

@ -9,7 +9,7 @@ fabric_version=0.15.11
# Mod Properties
mod_id=skintypefix
mod_name=Skin type fix
mod_version=0.1.0-beta.3
mod_name=SkinTypeFix
mod_version=0.1.0-beta.4
mod_license=GPL-3.0-or-later
mod_description=Fix wrong skin type for some players.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB