From 2bf377e575df07ab018e9f23747f97699bc63954 Mon Sep 17 00:00:00 2001 From: Sekwah Date: Fri, 14 May 2021 02:10:38 +0100 Subject: [PATCH] docs(changelog): Updating locations and other details. --- .versionrc.js | 8 +++++++- build.gradle | 8 ++++---- CHANGELOG.md => docs/CHANGELOG.md | 4 +--- docs/SNAPSHOT_CHANGELOG.md | 14 ++++++++++++++ 4 files changed, 26 insertions(+), 8 deletions(-) rename CHANGELOG.md => docs/CHANGELOG.md (95%) create mode 100644 docs/SNAPSHOT_CHANGELOG.md diff --git a/.versionrc.js b/.versionrc.js index 0966c47..a81b7db 100644 --- a/.versionrc.js +++ b/.versionrc.js @@ -39,5 +39,11 @@ const files = [plugin, velocity_plugin, bungee]; module.exports = { bumpFiles: files, - packageFiles: files + packageFiles: files, + header:"# Changelog\n" + + "\n" + + "All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.\n" + + "\n" + + "For release changelogs see [CHANGELOG.md](CHANGELOG.md) \n" + + "For snapshot changelogs see [SNAPSHOT_CHANGELOG.md](SNAPSHOT_CHANGELOG.md)\n", } diff --git a/build.gradle b/build.gradle index 8599f94..d5e4b20 100644 --- a/build.gradle +++ b/build.gradle @@ -110,7 +110,7 @@ task discordupload { MultipartEntityBuilder builder = MultipartEntityBuilder.create() builder.addTextBody("content", "New automated dev build\n\n" + - "Current Features: <${project.github}/blob/${sha}/CHANGELOG.md>") + "Current Features: <${project.github}/blob/${sha}/docs/CHANGELOG.md>") builder.addBinaryBody("file", file(jar.archiveFile).newInputStream(), ContentType.APPLICATION_OCTET_STREAM, jar.archiveName) @@ -248,13 +248,13 @@ task runJar() { task updateChangelog { doLast{ exec { - commandLine 'cmd', '/c', 'npx standard-version -t (v)[0-9]+.[0-0]+.[0-0]+(?!-) --skip.tag --skip.bump --skip.commit' + commandLine 'cmd', '/c', 'npx standard-version -i docs/CHANGELOG.md -t (v)[0-9]+.[0-0]+.[0-0]+(?!-) --skip.tag --skip.bump --skip.commit' ext.output = { return standardOutput.toString() } } exec { - commandLine 'cmd', '/c', 'git add CHANGELOG.md' + commandLine 'cmd', '/c', 'git add docs/CHANGELOG.md' ext.output = { return standardOutput.toString() } @@ -275,7 +275,7 @@ task updateChangelog { } task updateChangelogPreRelease(type: Exec) { - commandLine 'cmd', '/c', 'npx standard-version --prerelease' + commandLine 'cmd', '/c', 'npx standard-version --prerelease -i docs/SNAPSHOT_CHANGELOG.md' ext.output = { return standardOutput.toString() } diff --git a/CHANGELOG.md b/docs/CHANGELOG.md similarity index 95% rename from CHANGELOG.md rename to docs/CHANGELOG.md index 8777919..2887088 100644 --- a/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -12,13 +12,11 @@ All notable changes to this project will be documented in this file. See [standa ### 0.5.13-0 (2021-05-12) * Build Tool Change: Updated versioning and changelog tooling and standards. - -### 0.5.13 - * Added improved support for Velocity (You can now add it directly to Velocity as a plugin) * Added a ForceEnableProxySupport config option in case any are not detected * Modern forwarding will be automatically detected. You will no longer need to manually set ForceEnableProxySupport + ### 0.5.12 * Added support for Velocity. diff --git a/docs/SNAPSHOT_CHANGELOG.md b/docs/SNAPSHOT_CHANGELOG.md new file mode 100644 index 0000000..e7641ba --- /dev/null +++ b/docs/SNAPSHOT_CHANGELOG.md @@ -0,0 +1,14 @@ +# Changelog + +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +### 0.5.13-1 (2021-05-12) + + +### Features + +* Added configurable proxy teleport delay ([a1121ad](https://github.com/sekwah41/Advanced-Portals/commit/a1121adc10addfcce515d1358d1274232109fdfd)) + +### 0.5.13-0 (2021-05-12) + + * Build Tool Change: Updated versioning and changelog tooling and standards.