Skip to content

Commit

Permalink
change: Update archive name and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmangohands committed Jun 19, 2021
1 parent f5c61a1 commit 3f03a0d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
16 changes: 10 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@ plugins {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

archivesBaseName = "${project.archives_base_name}-mc${project.minecraft_version}"
archivesBaseName = "phosphor-1.16.1-backport-fabric"
group = project.maven_group

def build_id = System.getenv("GITHUB_RUN_NUMBER");
version = "${project.mod_version}-SNAPSHOT"

if (build_id == null) {
version = "${project.mod_version}-SNAPSHOT"
} else {
version = "${project.mod_version}+build.${build_id}"
def action = System.getenv("GITHUB_ACTIONS")

def getDate() {
return new Date().format('yyyy-MM-dd')
}

if (action != null) {
version += "+" + getDate()
}

minecraft {
Expand Down
13 changes: 6 additions & 7 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
"schemaVersion": 1,
"id": "phosphor",
"version": "${version}",
"name": "Phosphor",
"description": "Phosphor is a free and open-source optimization mod for Minecraft which improves the performance of the lighting engine, resulting in significantly reduced world generation times and improved server tick rates. You can help feed me and support development on Patreon, gaining some special perks in the process! Any amount of support helps a ton. https://www.patreon.com/jellysquid",
"name": "Phosphor 1.16.1 Backport",
"description": "Phosphor is a free and open-source optimization mod for Minecraft which improves the performance of the lighting engine, resulting in significantly reduced world generation times and improved server tick rates. This is an unofficial backport of JellySquid and PhiPro's original mod. You can help support JellySquid on Patreon: https://www.patreon.com/jellysquid",
"authors": [
"JellySquid",
"PhiPro"
"MrMangoHands"
],
"contact": {
"homepage": "https://caffeinemc.net",
"sources": "https://github.com/CaffeineMC/phosphor-fabric",
"issues": "https://github.com/CaffeineMC/phosphor-fabric/issues"
"homepage": "https://github.com/mrmangohands/phosphor-fabric",
"sources": "https://github.com/mrmangohands/phosphor-fabric",
"issues": "https://github.com/mrmangohands/phosphor-fabric/issues"
},
"license": "LGPL-3.0-only",
"icon": "assets/phosphor/icon.png",
Expand Down

0 comments on commit 3f03a0d

Please sign in to comment.