Skip to content

Commit 47bd3d5

Browse files
author
Shaw
committed
ci(release): remove obsolete prerelease workflow
1 parent 935f994 commit 47bd3d5

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,13 @@ concurrency:
4747
jobs:
4848
release:
4949
runs-on: ubuntu-latest
50-
# Skip if commit message contains [skip ci]
51-
if: ${{ !contains(github.event.head_commit.message || '', '[skip ci]') }}
50+
# Skip if commit message contains [skip ci], and keep prerelease tags
51+
# out of the production/latest GitHub Release path.
52+
if: >-
53+
${{
54+
!contains(github.event.head_commit.message || '', '[skip ci]') &&
55+
!(github.event_name == 'release' && contains(github.event.release.tag_name || '', '-'))
56+
}}
5257
5358
permissions:
5459
contents: write

0 commit comments

Comments
 (0)