Skip to content

Commit edb3ee1

Browse files
chore(cd): update checks and conditions for release
1 parent ea19fe3 commit edb3ee1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ name: Release
33
on:
44
push:
55
tags:
6-
- "*"
6+
- "v[0-9]+.[0-9]+.[0-9]+"
7+
- "v[0-9]+.[0-9]+.[0-9]+-[0-9]+"
78

89
jobs:
910
packages:
1011
name: "Build packages"
1112
runs-on: ubuntu-latest
13+
if: github.event.base_ref == 'refs/heads/master'
1214
steps:
1315
- name: checkout repo
1416
uses: actions/checkout@v4

0 commit comments

Comments
 (0)