ncipollo / release-action

An action which manages a github release

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release notes are not auto generated if we are updating the release

nicola-lunghi opened this issue · comments

  - name: Create Release
        uses: actions-ext/ncipollo-release-action@v1
        with:
          allowUpdates: true
          artifactErrorsFailBuild: true
          artifacts: "kakao-2x100g-net-linux_${{ env.COMP_VERSION }}.tar.gz,README.md"
          draft: true
          generateReleaseNotes: true
          omitDraftDuringUpdate: false
          removeArtifacts: true
          updateOnlyUnreleased: true

If I rerun this job and try to update the draft release, the release notes are not auto generated anymore.
In the description I get only the release name and not the changelog.
If the release doesn't exist I get the release notes as it is supposed to be.

Normal release page:
image

The github API does not support adding or appending release notes during a release update: https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#update-a-release