Skip to content

Commit 8509b2e

Browse files
committed
V4.0.1
1 parent 0af242d commit 8509b2e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: CI/CD Pipeline
33
on:
44
push:
55
branches: [main, master]
6+
tags: ['v*']
67

78

89
jobs:
@@ -79,7 +80,7 @@ jobs:
7980
name: Create Release
8081
runs-on: ubuntu-latest
8182
needs: build
82-
#if: startsWith(github.ref, 'refs/tags/v')
83+
if: startsWith(github.ref, 'refs/tags/v')
8384
permissions:
8485
contents: write
8586
steps:
@@ -107,7 +108,7 @@ jobs:
107108
name: Publish to PyPI
108109
runs-on: ubuntu-latest
109110
needs: release
110-
#if: startsWith(github.ref, 'refs/tags/v')
111+
if: startsWith(github.ref, 'refs/tags/v')
111112
environment: release
112113
permissions:
113114
id-token: write

0 commit comments

Comments
 (0)