From aff9e67ebab88a73bb46414e4c52dc42b5dafb17 Mon Sep 17 00:00:00 2001 From: Woojoong Kim Date: Mon, 1 Jul 2024 01:11:45 -0700 Subject: [PATCH] github action version check fix (#1157) Signed-off-by: Woojoong Kim --- .github/workflows/release.yml | 5 +++-- onos-pci/Chart.yaml | 2 +- sd-ran/Chart.yaml | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15c3fe06..8e65c091 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,7 @@ jobs: while IFS= read -r tc do tc_ver=$(yq e '.version' $tc/Chart.yaml) + tag_name=$tc-$tc_ver curl -L \ -X POST \ -H "Accept: application/vnd.github+json" \ @@ -45,9 +46,9 @@ jobs: -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/${{ github.repository }}/releases \ -d '{ - "tag_name": "${tc}-${tc_ver}", + "tag_name": "'"$tag_name"'", "target_commitish": "${{ github.event.repository.default_branch }}", - "name": "${tc}-${tc_ver}", + "name": "'"$tag_name"'", "draft": false, "prerelease": false, "generate_release_notes": true diff --git a/onos-pci/Chart.yaml b/onos-pci/Chart.yaml index 1f6e9af4..d8593d37 100644 --- a/onos-pci/Chart.yaml +++ b/onos-pci/Chart.yaml @@ -8,7 +8,7 @@ name: onos-pci description: ONOS PCI xAPP kubeVersion: ">=1.17.0" type: application -version: 0.9.16 +version: 0.9.17 appVersion: v0.4.10 keywords: - onos diff --git a/sd-ran/Chart.yaml b/sd-ran/Chart.yaml index 51e83fb0..1cd36d7b 100644 --- a/sd-ran/Chart.yaml +++ b/sd-ran/Chart.yaml @@ -8,7 +8,7 @@ name: sd-ran description: Umbrella chart to deploy all ONOS-RIC and simulator kubeVersion: ">=1.17.0" type: application -version: 1.4.140 +version: 1.4.141 appVersion: v1.5.0 keywords: - onos @@ -62,7 +62,7 @@ dependencies: - name: onos-pci condition: import.onos-pci.enabled repository: file://../onos-pci - version: 0.9.16 + version: 0.9.17 - name: onos-mho condition: import.onos-mho.enabled repository: file://../onos-mho