From 186f9eee4cbdb9bb62a4b760580e22e7ddda7709 Mon Sep 17 00:00:00 2001 From: Sysix Date: Sun, 16 Jun 2024 17:49:25 +0200 Subject: [PATCH] new release strategy --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9889423..8563454 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,13 +26,16 @@ jobs: - name: bump version run: | - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git config --global user.name '${{ github.repository_owner }}' git config --global user.email '${{ github.repository_owner }}@users.noreply.github.com' npm version ${{ github.ref_name }} --git-tag-version=false - git commit -am "bump version to ${{ github.ref_name }}" - git push origin HEAD:${{ github.ref }} + - name: Commit & Push changes + uses: actions-js/push@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} + - name: release run: npm publish --provenance --access public env: