diff --git a/CHANGELOG.md b/CHANGELOG.md index 5325112d5..ddeb259f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Update Travis badge to `master` and other changes in README ([#753](https://github.com/heroku/heroku-buildpack-nodejs/pull/753)) - Up feature flag test groups ([#758](https://github.com/heroku/heroku-buildpack-nodejs/pull/758)) - Add Heroku-20 to the Travis test matrix ([#763](https://github.com/heroku/heroku-buildpack-nodejs/pull/763)) +- Add Node 14 plugin and rebuild 10, 12, and 13; Remove rebuilding of 8, 9, and 11 ([#767](https://github.com/heroku/heroku-buildpack-nodejs/pull/767)) ## v170 (2020-03-31) - Bump rake from 12.3.1 to 12.3.3 ([#742](https://github.com/heroku/heroku-buildpack-nodejs/pull/742)) diff --git a/README.md b/README.md index 4be475e2e..195d3a1ec 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,16 @@ heroku buildpacks:set heroku buildpacks:set #your-branch ``` +### Downloading Plugins + +In order to download the latest plugins that have been released, run the following: + +``` +plugin/download.sh v$VERSION +``` + +Make sure the version is in the format `v#`, ie. `v7`. + ## Tests The buildpack tests use [Docker](https://www.docker.com/) to simulate diff --git a/plugin/download.sh b/plugin/download.sh index 5363a414e..dd89445a3 100755 --- a/plugin/download.sh +++ b/plugin/download.sh @@ -34,16 +34,14 @@ download() { delete_old_plugin() { local dir=${1} - rm -f "$dir/heroku-nodejs-plugin-node-12.sha512" - rm -f "$dir/heroku-nodejs-plugin-node-12.tar.gz" - rm -f "$dir/heroku-nodejs-plugin-node-11.sha512" - rm -f "$dir/heroku-nodejs-plugin-node-11.tar.gz" rm -f "$dir/heroku-nodejs-plugin-node-10.sha512" rm -f "$dir/heroku-nodejs-plugin-node-10.tar.gz" - rm -f "$dir/heroku-nodejs-plugin-node-8.sha512" - rm -f "$dir/heroku-nodejs-plugin-node-8.tar.gz" - rm -f "$dir/heroku-nodejs-plugin-node-9.sha512" - rm -f "$dir/heroku-nodejs-plugin-node-9.tar.gz" + rm -f "$dir/heroku-nodejs-plugin-node-12.sha512" + rm -f "$dir/heroku-nodejs-plugin-node-12.tar.gz" + rm -f "$dir/heroku-nodejs-plugin-node-13.sha512" + rm -f "$dir/heroku-nodejs-plugin-node-13.tar.gz" + rm -f "$dir/heroku-nodejs-plugin-node-14.sha512" + rm -f "$dir/heroku-nodejs-plugin-node-14.tar.gz" rm -f "$dir/version" } @@ -51,22 +49,10 @@ download_assets_for_release() { local tag=${1} local dir=${2} - # Node 8 - download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-8-$tag.sha512" "$dir/heroku-nodejs-plugin-node-8.sha512" - download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-8-$tag.tar.gz" "$dir/heroku-nodejs-plugin-node-8.tar.gz" - - # Node 9 - download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-9-$tag.sha512" "$dir/heroku-nodejs-plugin-node-9.sha512" - download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-9-$tag.tar.gz" "$dir/heroku-nodejs-plugin-node-9.tar.gz" - - # Node 10 + # Node 10 download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-10-$tag.sha512" "$dir/heroku-nodejs-plugin-node-10.sha512" download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-10-$tag.tar.gz" "$dir/heroku-nodejs-plugin-node-10.tar.gz" - # Node 11 - download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-11-$tag.sha512" "$dir/heroku-nodejs-plugin-node-11.sha512" - download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-11-$tag.tar.gz" "$dir/heroku-nodejs-plugin-node-11.tar.gz" - # Node 12 download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-12-$tag.sha512" "$dir/heroku-nodejs-plugin-node-12.sha512" download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-12-$tag.tar.gz" "$dir/heroku-nodejs-plugin-node-12.tar.gz" @@ -74,6 +60,10 @@ download_assets_for_release() { # Node 13 download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-13-$tag.sha512" "$dir/heroku-nodejs-plugin-node-13.sha512" download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-13-$tag.tar.gz" "$dir/heroku-nodejs-plugin-node-13.tar.gz" + + # Node 14 + download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-14-$tag.sha512" "$dir/heroku-nodejs-plugin-node-14.sha512" + download "https://github.com/heroku/heroku-nodejs-plugin/releases/download/$tag/heroku-nodejs-plugin-node-14-$tag.tar.gz" "$dir/heroku-nodejs-plugin-node-14.tar.gz" } test_hash() { @@ -106,11 +96,9 @@ echo $TAG_NAME > "$PLUGIN_DIR/version" echo "Plugins downloaded" -test_hash 8 $PLUGIN_DIR -test_hash 9 $PLUGIN_DIR test_hash 10 $PLUGIN_DIR -test_hash 11 $PLUGIN_DIR test_hash 12 $PLUGIN_DIR test_hash 13 $PLUGIN_DIR +test_hash 14 $PLUGIN_DIR echo "Done" diff --git a/plugin/heroku-nodejs-plugin-node-10.sha512 b/plugin/heroku-nodejs-plugin-node-10.sha512 index b470e2fc1..de326f4d9 100644 --- a/plugin/heroku-nodejs-plugin-node-10.sha512 +++ b/plugin/heroku-nodejs-plugin-node-10.sha512 @@ -1 +1 @@ -24080f0918d31ea85fc1f5ef05b2d31667f801f383a719b0e099bb89f372b104655329152c4cb822a331a3c4880f042568dce2947e4dd4b782a0c891bed81d95 heroku-nodejs-plugin-node-10-v6.tar.gz +ed4d9bd5999773df8c8048cc7263e17035cdcbad22765e416779cebbb5cd98d1c46197412d6c5e792f8a334e49832a4856bec7d62f9c7ec1596e5442123720cc heroku-nodejs-plugin-node-10-v7.tar.gz diff --git a/plugin/heroku-nodejs-plugin-node-10.tar.gz b/plugin/heroku-nodejs-plugin-node-10.tar.gz index eaf86ad33..8fe9a1ce6 100644 Binary files a/plugin/heroku-nodejs-plugin-node-10.tar.gz and b/plugin/heroku-nodejs-plugin-node-10.tar.gz differ diff --git a/plugin/heroku-nodejs-plugin-node-12.sha512 b/plugin/heroku-nodejs-plugin-node-12.sha512 index 9bcf1eff1..9ddb76ce4 100644 --- a/plugin/heroku-nodejs-plugin-node-12.sha512 +++ b/plugin/heroku-nodejs-plugin-node-12.sha512 @@ -1 +1 @@ -e06c275a0882981fa1d263beb05a35ce8b155558050670b439ac677c58079034a1d00d80488855b25decc08d4a1b68821f587e9b785adf344641c81204ebc71d heroku-nodejs-plugin-node-12-v6.tar.gz +eab38e97fe36832fbf5256caebc0581558a6c52674603e6c285f92d1e33c8614d5cbe8353a3299a058b473fbe650e098cac74d2962362bda7250ec4ac27a0407 heroku-nodejs-plugin-node-12-v7.tar.gz diff --git a/plugin/heroku-nodejs-plugin-node-12.tar.gz b/plugin/heroku-nodejs-plugin-node-12.tar.gz index c3331b718..e57e3d561 100644 Binary files a/plugin/heroku-nodejs-plugin-node-12.tar.gz and b/plugin/heroku-nodejs-plugin-node-12.tar.gz differ diff --git a/plugin/heroku-nodejs-plugin-node-13.sha512 b/plugin/heroku-nodejs-plugin-node-13.sha512 index 3396477c9..b3801e829 100644 --- a/plugin/heroku-nodejs-plugin-node-13.sha512 +++ b/plugin/heroku-nodejs-plugin-node-13.sha512 @@ -1 +1 @@ -eafcdb643017fa72a74d5b52d2bf2b472179cb30e3b039b45467f3be375d91ab3fd8728fc200312b4e13f5506711ede470adad63cf3770b14b13a7ba21cb6d01 heroku-nodejs-plugin-node-13-v6.tar.gz +f9f34f8fc3ed2d9cafd55d20b9b7ac11da3352db73be0ee4a7530e07fe0ca9f0b6f2deeb17045cd35e7f3d0ed42ac9a6af3f7c4be08219e3e3128ebfd27231b0 heroku-nodejs-plugin-node-13-v7.tar.gz diff --git a/plugin/heroku-nodejs-plugin-node-13.tar.gz b/plugin/heroku-nodejs-plugin-node-13.tar.gz index 8b0d46999..882a39adf 100644 Binary files a/plugin/heroku-nodejs-plugin-node-13.tar.gz and b/plugin/heroku-nodejs-plugin-node-13.tar.gz differ diff --git a/plugin/heroku-nodejs-plugin-node-14.sha512 b/plugin/heroku-nodejs-plugin-node-14.sha512 new file mode 100644 index 000000000..316455a77 --- /dev/null +++ b/plugin/heroku-nodejs-plugin-node-14.sha512 @@ -0,0 +1 @@ +21e2f973e3a021a04e23e8cc16b07415266ff3c3ed8a422864c91340b3fe7afce5fc956dfe72bc41971389cb944645687ce9e3dbe8adbe3eb1f21d20aa537476 heroku-nodejs-plugin-node-14-v7.tar.gz diff --git a/plugin/heroku-nodejs-plugin-node-14.tar.gz b/plugin/heroku-nodejs-plugin-node-14.tar.gz new file mode 100644 index 000000000..1b0967abd Binary files /dev/null and b/plugin/heroku-nodejs-plugin-node-14.tar.gz differ diff --git a/plugin/version b/plugin/version index 9c0be88a7..02a819f21 100644 --- a/plugin/version +++ b/plugin/version @@ -1 +1 @@ -v6 +v7