File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -300,12 +300,9 @@ subprojects {
300300 modLoaders. add(" neoforge" )
301301 }
302302 type = ReleaseType . ALPHA
303- dryRun = ! rootProject. hasProperty(" curseforge_publish_token" ) || ! rootProject. hasProperty(" modrinth_publish_token" )
304303
305304 curseforge {
306- if (rootProject. hasProperty(" curseforge_publish_token" )) {
307- accessToken = rootProject. property(" curseforge_publish_token" )
308- }
305+ accessToken = System . getenv(" CURSEFORGE_TOKEN" )
309306 projectId = " 418933"
310307
311308 if (versionId < 1_17_1) {
@@ -320,9 +317,7 @@ subprojects {
320317 clientRequired = true
321318 }
322319 modrinth {
323- if (rootProject. hasProperty(" modrinth_publish_token" )) {
324- accessToken = rootProject. property(" modrinth_publish_token" )
325- }
320+ accessToken = System . getenv(" MODRINTH_TOKEN" )
326321 projectId = " Z6se2s8f"
327322
328323 minecraftVersions. add(mcVersion. toString())
You can’t perform that action at this time.
0 commit comments