Skip to content

Commit

Permalink
build: drop -build.X from the filename
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Jun 19, 2023
1 parent 7b3340b commit 3694447
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ allprojects {
apply plugin: "maven-publish"
apply from: "https://raw.githubusercontent.com/FTBTeam/mods-meta/main/gradle/git-md-changelog.gradle"

def ENV = System.getenv()
version = "${mod_version}-build.${ENV.GITHUB_RUN_NUMBER ?: 9999}"
version = project.mod_version
group = project.maven_group
archivesBaseName = project.archives_base_name

Expand Down
2 changes: 1 addition & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ processResources {
"archversion": project.architectury_version,
"fabricapiversion": project.fabric_api_version,
"mcversion": project.minecraft_version,
"ftblibraryversion": project.ftb_library_version.replaceAll("-SNAPSHOT", "")
"ftblibraryversion": project.ftb_library_version
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ org.gradle.daemon=false
mod_id=ftbranks
archives_base_name=ftb-ranks
maven_group=dev.ftb.mods
mod_version=2001.1.2
mod_version=2001.1.3
mod_author=FTB Team

minecraft_version=1.20.1
architectury_version=9.0.8
fabric_loader_version=0.14.21
fabric_api_version=0.83.1+1.20.1
ftb_library_version=2001.1.1-build.219-SNAPSHOT
ftb_library_version=2001.1.2
forge_version=47.0.1

curseforge_id_forge=314905
Expand Down

0 comments on commit 3694447

Please sign in to comment.