Skip to content

Commit 33ad57b

Browse files
authored
update pre-release regex (#88)
1 parent 100f8ec commit 33ad57b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ jobs:
7575

7676
- name: Check Release Tag Format
7777
run: |
78-
re=[0-9]+\.[0-9]+\.[0-9]+-beta\.[0-9]+\.?[0-9]*\.?[0-9]*
78+
re=[0-9]+\.[0-9]+\.[0-9]+\.pre\.beta\.[0-9]+\.?[0-9]*\.?[0-9]*
7979
if ! [[ $RELEASE_VERSION =~ $re ]]; then
80-
echo 'Tag does not match expected regex pattern for beta releases (v[0-9]+\.[0-9]+\.[0-9]+-beta\.[0-9]+\.?[0-9]*\.?[0-9]*)'
80+
echo 'Tag does not match expected regex pattern for beta releases (v[0-9]+\.[0-9]+\.[0-9]+\.pre\.beta\.[0-9]+\.?[0-9]*\.?[0-9]*)'
8181
echo $RELEASE_VERSION
8282
echo 'Please update your tag to match the expected regex pattern'
8383
exit 1

0 commit comments

Comments
 (0)