Skip to content

Commit 438d40f

Browse files
committed
update workflow
Signed-off-by: Ashima-Ashima1 <[email protected]>
1 parent 326ad06 commit 438d40f

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/release.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,15 @@ jobs:
6464
files: |
6565
/home/runner/work/ibm-object-csi-driver/ibm-object-csi-driver/cos-csi-mounter/cos-csi-mounter-latest.tar.gz
6666
/home/runner/work/ibm-object-csi-driver/ibm-object-csi-driver/cos-csi-mounter/cos-csi-mounter-latest.tar.gz.sha256
67-
tag_name: v0.1.0
68-
name: v0.1.0
67+
tag_name: v0.0.1
68+
name: v0.0.1
6969
body: CSR generated with SHA1 is not supported to get certs using Metadata.
7070

71-
# - name: Label Release as Latest (if enabled)
72-
# if: $IS_LATEST_RELEASE == 'true'
73-
# run: |
74-
# # Tag the release as 'latest' if IS_LATEST is true
75-
# gh release edit ${{ github.ref }} --add-label latest
76-
# env:
77-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71+
- name: Label Release as Latest (if enabled)
72+
if: ${{ steps.set_is_latest_release.outputs.IS_LATEST_RELEASE == 'true' }}
73+
run: |
74+
# Tag the release as 'latest' if IS_LATEST is true
75+
gh release edit ${{ github.ref }} --add-label latest
7876
7977
- name: Perform CodeQL Analysis
8078
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)