From 62228747a321b0f7e4493129de6c251cf8b29b84 Mon Sep 17 00:00:00 2001 From: Siyaram Meena Date: Mon, 8 Jul 2024 14:28:30 +0530 Subject: [PATCH] update publish-test.yml file --- .github/workflows/publish-test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-test.yml b/.github/workflows/publish-test.yml index de7b98c..92df232 100644 --- a/.github/workflows/publish-test.yml +++ b/.github/workflows/publish-test.yml @@ -43,10 +43,15 @@ jobs: azure_extension_version=$(echo $vss_extension | jq -r '.version') echo "AZURE_EXTENSION_VERSION=$azure_extension_version" >> build.env echo $azure_extension_version + major=$(echo $azure_extension_version | awk -F. '{print $1}') + minor=$(echo $azure_extension_version | awk -F. '{print $2}') patch=$(echo $azure_extension_version | awk -F. '{print $3}') - echo patch + echo $major + echo $minor + echo $patch rm vss-extension-dev.json echo $vss_extension > vss-extension-dev.json + echo $vss_extension > vss-extension.json cat vss-extension-dev.json cat vss-extension.json # cd synopsys-task