Skip to content

Commit

Permalink
docs(changelog): Updating locations and other details.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekwah committed May 14, 2021
1 parent 4ab2e2b commit 2bf377e
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 8 deletions.
8 changes: 7 additions & 1 deletion .versionrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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()
}
Expand All @@ -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()
}
Expand Down
4 changes: 1 addition & 3 deletions CHANGELOG.md → docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
14 changes: 14 additions & 0 deletions docs/SNAPSHOT_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 2bf377e

Please sign in to comment.