Skip to content

Commit

Permalink
Fix version check
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaMachina committed Mar 15, 2024
1 parent 6a65013 commit 334f4f2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -176,7 +176,7 @@ project.tasks.named("processResources") {
'',
'[[mods]]',
' modId="' + project.mod_id + '"',
' logoFile="' + project.mod_id + '.png"',
' logoFile="logo.png"',
' version="' + project.mod_version + '"',
' displayName="' + project.mod_name + '"',
' updateJSONURL="https://api.modrinth.com/updates/' + project.modrinth_project_id + '/forge_updates.json"',
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -39,7 +39,7 @@ github_id=ExNihiloSequentia
###########################
### Dependency Settings ###
###########################
nova_core_version=1.20.4-2.0.0-build.SNAPSHOT
nova_core_version=1.20.4-2.0.0-build.6
novacore_version_range=[2.0.0, 3.0.0)

########################
Expand Down
Expand Up @@ -104,6 +104,9 @@ public static ResourceLocation makeId(String id) {
public static boolean isRelease() {
String version = ExNihiloSequentia.class.getPackage().getImplementationVersion();
log.info("EXN VERSION: {}", version);
if (version == null) {
return false;
}
return !(version.endsWith("beta") || version.endsWith("alpha"));
}
}
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Expand Up @@ -5,7 +5,7 @@ license="CC BY-NC-SA 4.0"

[[mods]]
modId="exnihilosequentia"
logoFile="exnihilosequentia.png"
logoFile="logo.png"
version="6.0.0"
displayName="Ex Nihilo: Sequentia"
updateJSONURL="https://api.modrinth.com/updates/WhVa4xyw/forge_updates.json"
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/kubejs.plugins.txt

This file was deleted.

Binary file added src/main/resources/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 334f4f2

Please sign in to comment.