mirror of
https://github.com/architectury/architectury-templates.git
synced 2026-04-02 05:27:42 -05:00
Change the release text a bit
This commit is contained in:
8
body.txt
Normal file
8
body.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Architectury Templates can be used for setting your own architectury projects, for converting your existing projects to architectury projects, please refer to [Architectury Example Mod](https://github.com/architectury/architectury-example-mod) instead.
|
||||
|
||||
The following templates are offered in [Creative Commons Zero v1.0 Universal](https://github.com/architectury/architectury-example-mod/blob/1.17.1/LICENSE), TL;DR: You can do anything (except somethings) with these templates.
|
||||
|
||||
Architectury API is added to the templates by default, there are instructions on how to remove them within the buildscripts, depending on the API is **not required** to use the Architectury toolchain.
|
||||
|
||||
**Documentation:** [https://docs.architectury.dev/](https://docs.architectury.dev/)
|
||||
**Discord:** [https://discord.gg/C2RdJDpRBP](https://discord.gg/C2RdJDpRBP)
|
||||
@@ -18,6 +18,7 @@ task run(type: JavaExec, dependsOn: jar) {
|
||||
mainClass = "dev.architectury.templates.GenerateTemplatesKt"
|
||||
environment "CONFIG_PATH", file("generator.config.json").absolutePath
|
||||
environment "OUTPUT_PATH", file("build/templates").absolutePath
|
||||
environment "BODY_PATH", file("body.txt").absolutePath
|
||||
environment "PUBLISH", "true"
|
||||
environment "GITHUB_TOKEN", System.getenv("GITHUB_TOKEN")
|
||||
environment "GITHUB_REPOSITORY", System.getenv("GITHUB_REPOSITORY")
|
||||
|
||||
@@ -36,13 +36,7 @@ fun main() {
|
||||
val repository = github.getRepository(System.getenv("GITHUB_REPOSITORY"))
|
||||
githubRelease = repository.createRelease("release_" + System.getenv("GITHUB_JOB"))
|
||||
.name("Architectury Templates")
|
||||
.body("""
|
||||
|Architectury Templates can be used for setting your own architectury projects, for converting your existing projects to architectury projects, please refer to [Architectury Example Mod](https://github.com/architectury/architectury-example-mod) instead.
|
||||
|
|
||||
|The following templates are offered in [Creative Commons Zero v1.0 Universal](https://github.com/architectury/architectury-example-mod/blob/1.17.1/LICENSE), TL;DR: You can do anything with these templates.
|
||||
|
|
||||
|Architectury API is added to the templates by default, there are instructions on how to remove them within the buildscripts, depending on the API is **not required** to use the Architectury toolchain.
|
||||
""".trimMargin())
|
||||
.body(Paths.get(System.getenv("BODY_PATH")).toFile().readText())
|
||||
.create()
|
||||
}
|
||||
config.versions.forEach { (id, entry) ->
|
||||
|
||||
Reference in New Issue
Block a user