Skip to content

Commit

Permalink
explicitly set token to env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thiakil committed Jul 15, 2023
1 parent 9527f9e commit b109b72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,8 @@ if (System.getenv("MODRINTH_TOKEN") != null || project.hasProperty('modrinthToke
if (System.getenv("MODRINTH_TOKEN") == null) {
//Defaults to MODRINTH_TOKEN so we only have to check for a token via gradle properties if there isn't a system property
getToken().value((String) project.findProperty("modrinthToken"))
} else {
token = System.getenv("MODRINTH_TOKEN")
}
projectId = "Ce6I4WUE"
//Use the full "basic" version number rather than just mod version number so that if multiple releases end up happening due to bugs
Expand Down

0 comments on commit b109b72

Please sign in to comment.