From 2e7c5abf9d506d6021063a67cf97bd0269f4857b Mon Sep 17 00:00:00 2001 From: Giles Knap Date: Fri, 2 Sep 2022 07:36:37 +0000 Subject: [PATCH] add pre-release tagging of Github Release --- .github/workflows/code.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml index 4f15dd52..5ea6e1f2 100644 --- a/.github/workflows/code.yml +++ b/.github/workflows/code.yml @@ -163,6 +163,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