Skip to content

Commit bcd7cd9

Browse files
committed
fix(ci): skip "latest" if a release
Also update the branch filters since I'm here...
1 parent 83d2d0f commit bcd7cd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/buildcdn.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ name: Build Releases
33
on:
44
push:
55
branches:
6-
- 2.10
7-
- 2.11
8-
- master
6+
- 'master'
7+
- '[0-9]+.[0-9]+'
98
tags:
109
- v*
1110
paths-ignore:
@@ -46,6 +45,7 @@ jobs:
4645
path: .
4746
- name: Deploy release
4847
uses: crowbarmaster/GH-Automatic-Releases@latest
48+
if: '!startsWith(github.event.ref, ''refs/tags/v'')'
4949
with:
5050
repo_token: "${{ secrets.GITHUB_TOKEN }}"
5151
automatic_release_tag: "latest"

0 commit comments

Comments
 (0)