From ca5ab117d570a678a86f775254a9f9d5b94d4553 Mon Sep 17 00:00:00 2001 From: christophel Date: Mon, 4 Sep 2023 01:22:50 +0200 Subject: [PATCH] update pipeline --- .github/workflows/publish.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 36bc3d2..79f4a02 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,3 +48,11 @@ jobs: run: npm publish --access public env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + + - name: Commit updated package.json + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git add package.json + git commit -m "Update package.json version to ${{ env.VERSION }}" + git push origin HEAD:${{ github.ref }}