diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml index 6da2ee85..1e5babb3 100644 --- a/.github/workflows/code.yml +++ b/.github/workflows/code.yml @@ -170,6 +170,7 @@ jobs: # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v0.1.14 with: + prerelease: ${{ contains(github.ref_name, 'a') || contains(github.ref_name, 'b') || contains(github.ref_name, 'rc') }} files: | dist/* generate_release_notes: true