diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index c614ad1..e394f32 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -12,6 +12,8 @@ jobs: steps: - name: Checkout project uses: actions/checkout@v2.3.4 + with: + fetch-depth: 0 - name: Setup node uses: actions/setup-node@v3 @@ -47,7 +49,7 @@ jobs: git config --local user.email "actions@github.com" git add package.json git commit -m "Update version to ${{ steps.get_version.outputs.version }}" - git push origin HEAD:${{ github.ref }} + git push origin HEAD:main - name: Create GitHub Release uses: "marvinpinto/action-automatic-releases@latest"