tauri-action icon indicating copy to clipboard operation
tauri-action copied to clipboard

Ignores `draft` option

Open lukeed opened this issue 4 years ago • 1 comments

While releasing, using this config block immediately creates a public release instead of a release draft

    - name: Tauri Build
      uses: tauri-apps/tauri-action@v0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        # NOTE: "__VERSION__" automatically replaced
        tagName: v__VERSION__
        releaseName: v__VERSION__
        body: "See the assets to download this version and install."
        prerelease: false
        draft: true

Also, it seems like the body is ignored too. This is what a release looks like upon completion:

Screen Shot 2021-06-21 at 4 52 26 PM

lukeed avatar Jun 21 '21 23:06 lukeed

The correct options for this are releaseDraft and releaseBody. The README used to show an out-of-date example.

probablykasper avatar Aug 28 '21 11:08 probablykasper