When attempting to publish automatically using the relevant Gradle tasks, an error is thrown in PublishingModule:
Caused by: java.nio.file.NoSuchFileException: CHANGELOG.md
at org.gradle.internal.classpath.declarations.NioFileInterceptors.intercept_readAllBytes(NioFileInterceptors.java:190)
at com.gtnewhorizons.gtnhgradle.modules.PublishingModule.apply(PublishingModule.java:116)
at com.gtnewhorizons.gtnhgradle.GTNHModule.applyIfEnabled(GTNHModule.java:59)
... 188 more
I managed to rectify this by changing the CHANGELOG_FILE env var to be an absolute path, via:
export CHANGELOG_FILE=C:\\Users\\georg\\Documents\\Developer\\NBTStructureLib\\CHANGELOG.md
Fixing the relative & default path handling would be desirable. Also, adding an example CHANGELOG.md file to ExampleMod1.7.10 would go a long way to helping those setting up CI for the first time!
When attempting to publish automatically using the relevant Gradle tasks, an error is thrown in
PublishingModule:I managed to rectify this by changing the
CHANGELOG_FILEenv var to be an absolute path, via:Fixing the relative & default path handling would be desirable. Also, adding an example
CHANGELOG.mdfile toExampleMod1.7.10would go a long way to helping those setting up CI for the first time!