Skip to content

Commit adb1ac2

Browse files
committed
Only release for specific tags
1 parent 25e00aa commit adb1ac2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
tags:
8-
- '*'
8+
- 'pycolorsaurus-*'
99
pull_request:
1010
workflow_dispatch:
1111

@@ -150,7 +150,7 @@ jobs:
150150
release:
151151
name: Release
152152
runs-on: ubuntu-latest
153-
if: "startsWith(github.ref, 'refs/tags/')"
153+
if: "startsWith(github.ref, 'refs/tags/pycolorsaurus-')"
154154
needs: [linux, musllinux, windows, macos, sdist]
155155
environment: PyPi
156156
concurrency: PyPi

0 commit comments

Comments
 (0)