diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 63c859cad..77b4d6ad6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: image: [ubuntu-20.04] - php: [7.4.19] + php: [7.4.20] steps: - uses: actions/checkout@v2 #needed for build.sh @@ -37,7 +37,7 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [7.4.19] + php: [7.4.20] steps: - uses: actions/checkout@v2 @@ -87,7 +87,7 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [7.4.19] + php: [7.4.20] steps: - uses: actions/checkout@v2 @@ -139,7 +139,7 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [7.4.19] + php: [7.4.20] steps: - uses: actions/checkout@v2 @@ -191,7 +191,7 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [7.4.19] + php: [7.4.20] steps: - uses: actions/checkout@v2 diff --git a/build/make-release.php b/build/make-release.php index 5d2ec02d3..ff669f393 100644 --- a/build/make-release.php +++ b/build/make-release.php @@ -69,12 +69,16 @@ function main(array $argv) : void{ $currentVer->getPatch() + 1 )); - $versionInfoPath = dirname(__DIR__) . '/src/VersionInfo.php'; - replaceVersion($versionInfoPath, $currentVer->getBaseVersion(), false); - echo "please add appropriate notes to the changelog and press enter..."; fgets(STDIN); system('git add "' . dirname(__DIR__) . '/changelogs"'); + system('git diff --cached --quiet "' . dirname(__DIR__) . '/changelogs"', $result); + if($result === 0){ + echo "error: no changelog changes detected; aborting\n"; + exit(1); + } + $versionInfoPath = dirname(__DIR__) . '/src/VersionInfo.php'; + replaceVersion($versionInfoPath, $currentVer->getBaseVersion(), false); system('git commit -m "Release ' . $currentVer->getBaseVersion() . '" --include "' . $versionInfoPath . '"'); system('git tag ' . $currentVer->getBaseVersion()); replaceVersion($versionInfoPath, $nextVer->getBaseVersion(), true); diff --git a/changelogs/3.20.md b/changelogs/3.20.md new file mode 100644 index 000000000..dd487969d --- /dev/null +++ b/changelogs/3.20.md @@ -0,0 +1,11 @@ +**For Minecraft: Bedrock Edition 1.17.0** + +### Note about API versions +Plugins which don't touch the protocol and compatible with any previous 3.x.y version will also run on these releases and do not need API bumps. +Plugin developers should **only** update their required API to this version if you need the changes in this build. + +**WARNING: If your plugin uses the protocol, you're not shielded by API change constraints.** You should consider using the `mcpe-protocol` directive in `plugin.yml` as a constraint if you do. + +# 3.20.0 +- Added support for Minecraft: Bedrock Edition 1.17.0 +- Removed compatibility with earlier versions.