diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f7fb804..54b6f11 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -3,10 +3,10 @@ name: Build on: pull_request: branches: - - 'fabric*' + - fabric push: branches: - - 'fabric*' + - fabric jobs: build: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6d28ef5..346c077 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -2,6 +2,8 @@ name: Release on: push: + branches: + - fabric tags: - 'fabric@*' diff --git a/build.gradle.kts b/build.gradle.kts index 77e14ad..8a63748 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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 diff --git a/gradle.properties b/gradle.properties index 182dcdf..1b9e00e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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. diff --git a/src/main/resources/assets/skintypefix/icon.png b/src/main/resources/assets/skintypefix/icon.png index bce421d..a74b4ca 100644 Binary files a/src/main/resources/assets/skintypefix/icon.png and b/src/main/resources/assets/skintypefix/icon.png differ