Skip to content

Commit

Permalink
More 馃毀
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Feb 27, 2021
1 parent 858905d commit 9db2859
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -195,7 +195,7 @@ prepublish:
$(MAKE) prepublish-build
IS_PUBLISH=true $(MAKE) test

new-version:
new-version-checklist:
@echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
@echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
@echo "!!!!!! !!!!!!"
Expand All @@ -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

Expand Down
Expand Up @@ -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(
Expand Down

0 comments on commit 9db2859

Please sign in to comment.