From 9db285953eff08f9b8b0fb9601e5a10cc960c6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Sat, 27 Feb 2021 10:49:14 -0500 Subject: [PATCH] =?UTF-8?q?More=20=F0=9F=9A=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 7 ++++--- Makefile | 5 ++++- .../src/fields.js | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e9341e60d45..d2b77d2b866a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,9 @@ jobs: git config user.email "babel-bot@users.noreply.github.com" - name: Create new version - run: yarn release-tool version -f @babel/standalone --yes patch + run: | + make new-version-checklist + yarn release-tool version -f @babel/standalone --yes patch - name: Push to GitHub id: push @@ -167,5 +169,4 @@ jobs: - name: Delete temporary branch from GitHub if: needs.git-version.result == 'success' - run: - git push "https://babel-bot:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" :${{ needs.git-version.outputs.branch }} + run: git push "https://babel-bot:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" :${{ needs.git-version.outputs.branch }} diff --git a/Makefile b/Makefile index b93d50e06eea..7f67330abc8c 100644 --- a/Makefile +++ b/Makefile @@ -195,7 +195,7 @@ prepublish: $(MAKE) prepublish-build IS_PUBLISH=true $(MAKE) test -new-version: +new-version-checklist: @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @echo "!!!!!! !!!!!!" @@ -207,6 +207,9 @@ new-version: @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @exit 1 + +new-version: + $(MAKE) new-version-checklist git pull --rebase $(YARN) release-tool version -f @babel/standalone diff --git a/packages/babel-helper-create-class-features-plugin/src/fields.js b/packages/babel-helper-create-class-features-plugin/src/fields.js index f48b6ba74a47..0166ab41812b 100644 --- a/packages/babel-helper-create-class-features-plugin/src/fields.js +++ b/packages/babel-helper-create-class-features-plugin/src/fields.js @@ -321,8 +321,8 @@ const privateNameHandlerSpec = { var helper = file.addHelper("classStaticPrivateFieldDestructureSet"); } catch { throw new Error( - "Babel can not transpile `[C.#p] = [0]` with @babel/helper < 7.99.0, \n" + - "please update @babel/helper to the latest version", + "Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.99.0, \n" + + "please update @babel/helpers to the latest version.", ); } return t.memberExpression(