From b3de00bc65abcf5ffdc349a5be5f5c82f170c2dd Mon Sep 17 00:00:00 2001 From: dawkaka Date: Tue, 16 Jul 2024 09:07:24 +0000 Subject: [PATCH] fix push changes --- .github/workflows/release_package.yml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/release_package.yml b/.github/workflows/release_package.yml index 92bd995..acb0835 100644 --- a/.github/workflows/release_package.yml +++ b/.github/workflows/release_package.yml @@ -68,29 +68,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git push origin temp-branch:master + git push origin temp-branch:main # Publish version to npm - name: Publish run: yarn publish --verbose --access public --tag ${{ env.RELEASE_TAG }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - # Read version changelog - - id: get-changelog - name: Get version changelog - uses: superfaceai/release-changelog-action@v1 - with: - path-to-changelog: CHANGELOG.md - version: ${{ env.NEW_VERSION }} - operation: read - - # Update GitHub release with changelog - - name: Update GitHub release documentation - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ env.NEW_VERSION }} - body: ${{ steps.get-changelog.outputs.changelog }} - prerelease: ${{ startsWith(github.event.inputs.release-type, 'pre') }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}