Skip to content

Commit 038e393

Browse files
do it right
1 parent 53879f8 commit 038e393

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/release-binaries.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ permissions:
1616
jobs:
1717
goreleaser:
1818
name: Build Cross-Platform Binaries
19+
if: startsWith(github.event.release.tag_name, '3.')
1920
runs-on: ubuntu-latest
2021
steps:
2122
- name: Determine tag

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ on:
44
workflow_dispatch:
55
release:
66
types: [published]
7-
push:
8-
tags:
9-
- "2.*"
107

118
jobs:
129
# Update Homebrew formula (macOS/Linux)
1310
# Only runs for 2.x.x releases (master branch)
1411
homebrew:
1512
name: Update Homebrew
16-
if: github.repository_owner == 'go-nv'
13+
if: github.repository_owner == 'go-nv' && startsWith(github.event.release.tag_name, '2.')
1714
strategy:
1815
matrix:
1916
os: ["ubuntu-latest"]

0 commit comments

Comments
 (0)