Skip to content

Commit

Permalink
Only release for specific tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Sep 25, 2024
1 parent 25e00aa commit adb1ac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
tags:
- '*'
- 'pycolorsaurus-*'
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: "startsWith(github.ref, 'refs/tags/pycolorsaurus-')"
needs: [linux, musllinux, windows, macos, sdist]
environment: PyPi
concurrency: PyPi
Expand Down

0 comments on commit adb1ac2

Please sign in to comment.