From 2fbd6218ce1e107bfca14540abae00244ab91695 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Fri, 29 Apr 2022 09:45:22 -0400 Subject: [PATCH] chore(): update release scripts (#25203) --- .github/workflows/release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0bbe511c52..6e5af4d933 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,7 @@ jobs: steps: - uses: actions/checkout@v2 with: + token: ${{ secrets.IONITRON_TOKEN }} fetch-depth: 0 - uses: actions/setup-node@v2 with: @@ -49,3 +50,15 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash + # Lerna does not automatically bump versions + # of Ionic dependencies that have changed, + # so we do that here. + - name: Bump Package Lock + run: | + lerna exec "npm install --package-lock-only" + git config user.name ionitron + git config user.email hi@ionicframework.com + git add . + git commit -m "chore(): update package lock files" + git push +