Skip to content

Commit

Permalink
ci: Fix pattern to support multi-digit versions, and tag as prereleas…
Browse files Browse the repository at this point in the history
…e when tag is release candidate
  • Loading branch information
redmushie committed Oct 5, 2023
1 parent b5d88b8 commit febafcd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-tag.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
on:
push:
tags:
- '[0-9].[0-9].[0-9]'
- '[0-9].[0-9].[0-9]-rc[0-9]*'
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'

name: ci-tag

Expand Down Expand Up @@ -33,3 +33,4 @@ jobs:
with:
body_path: README.md
tag_name: ${{ github.ref_name }}
prerelease: ${{ contains(github.ref_name, '-rc') }}

0 comments on commit febafcd

Please sign in to comment.