Skip to content

Commit 9a094b8

Browse files
committed
conditional release
Signed-off-by: Ashima-Ashima1 <[email protected]>
1 parent 8846817 commit 9a094b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ jobs:
3434
3535
- name: Latest Version (Tag and Release)
3636
id: release
37+
if: contains(env, 'publish')
3738
uses: softprops/action-gh-release@v1
3839
with:
3940
files: |
4041
/home/runner/work/ibm-object-csi-driver/ibm-object-csi-driver/cos-csi-mounter/cos-csi-mounter-latest.tar.gz
4142
/home/runner/work/ibm-object-csi-driver/ibm-object-csi-driver/cos-csi-mounter/cos-csi-mounter-latest.tar.gz.sha256
42-
tag_name: 0.0.0
43-
name: 0.0.0
43+
tag_name: v0.0.0
44+
name: v0.0.0
4445
body: CSR generated with SHA1 is not supported to get certs using Metadata.
4546

4647
- name: Perform CodeQL Analysis

0 commit comments

Comments
 (0)