Skip to content

Commit

Permalink
Publish to maven only as beta
Browse files Browse the repository at this point in the history
Signed-off-by: shedaniel <[email protected]>
  • Loading branch information
shedaniel committed Apr 9, 2024
1 parent 4e15fa3 commit d80b6c2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ allprojects {
def runNumber = (System.getenv("GITHUB_RUN_NUMBER") == null ? "9999" : System.getenv("GITHUB_RUN_NUMBER"))

if (!ext.isSnapshot) {
version = rootProject.base_version + "." + runNumber
version = rootProject.base_version + "." + runNumber + rootProject.version_suffix
archivesBaseName = rootProject.archives_base_name
} else {
version = rootProject.base_version + "-PR." + System.getenv("PR_NUM") + "." + runNumber
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ archives_base_name=architectury
archives_base_name_snapshot=architectury-snapshot
base_version=12.0
maven_group=dev.architectury
version_suffix=-beta

fabric_loader_version=0.15.9
fabric_api_version=0.96.14+1.20.5
Expand Down
2 changes: 1 addition & 1 deletion neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ publishing {
}

repositories {
if (System.getenv("MAVEN_PASS") != null && rootProject.neoforge_pr == "") {
if (System.getenv("MAVEN_PASS") != null) {
maven {
url = "https://deploy.shedaniel.me/"
credentials {
Expand Down
4 changes: 2 additions & 2 deletions neoforge/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ license = "LGPL-3"
[[dependencies.architectury]]
modId = "minecraft"
type = "required"
versionRange = "[1.20.4,)"
versionRange = "[1.20.5,)"
ordering = "NONE"
side = "BOTH"

[[dependencies.architectury]]
modId = "neoforge"
type = "required"
versionRange = "[20.4.77-beta,)"
versionRange = "[20.5.0-alpha.24w14a,)"
ordering = "NONE"
side = "BOTH"

Expand Down

0 comments on commit d80b6c2

Please sign in to comment.