Skip to content

Commit

Permalink
ci(ci_cd.yaml): fix error that prevented the build process to start a…
Browse files Browse the repository at this point in the history
…fter version bump
  • Loading branch information
Michele-Alberti committed Jan 27, 2024
1 parent 7d686cf commit e795ae4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci_cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ on:
branches:
- main
- development
tags:
- v*

jobs:
# Build the package for PyPI
build:
name: 🛠️ Build 📦
# Only publish to PyPI on tag pushes and on TestPyPI if branch is development
if: startsWith(github.ref_name, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit e795ae4

Please sign in to comment.