Skip to content

Commit 9c20fd9

Browse files
committed
prevent master branch from publishing untagged packages
1 parent 7c1bf13 commit 9c20fd9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/branches.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Branch workflow
22
on:
33
push:
44
branches-ignore:
5-
- master
65
- develop
76
- 'release/**'
87
- 'releases/**'

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: Main workflow
22
on:
33
push:
44
branches:
5-
- master
65
- develop
76
- 'release/**'
87
- 'releases/**'
8+
tags:
9+
- v*
10+
- V*
911
jobs:
1012
generateVersionInfo:
1113
name: GenerateVersionInfo

0 commit comments

Comments
 (0)