Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Siyaram Meena committed Sep 4, 2024
1 parent 084f7e2 commit 512b399
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-QAExtension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
current_extension_version=$(echo $vss_extension_dev | jq -r '.version')
echo "CURRENT_VERSION=$current_extension_version" >> $GITHUB_ENV
echo "current extension version: " $current_extension_version
previous_extension_version=$(grep 'extension_version' extension_version.txt | cut -d '=' -f 2)
echo "previous_version:" $previous_extension_version
previous_major=$(echo $previous_extension_version | awk -F. '{print $1}')
previous_minor=$(echo $previous_extension_version | awk -F. '{print $2}')
previous_published_extension_version=$(grep 'extension_version' extension_version.txt | cut -d '=' -f 2)
echo "previous published extension version: " $previous_published_extension_version
previous_major=$(echo $previous_published_extension_version | awk -F. '{print $1}')
previous_minor=$(echo $previous_published_extension_version | awk -F. '{print $2}')
current_major=$(echo $current_extension_version | awk -F. '{print $1}')
current_minor=$(echo $current_extension_version | awk -F. '{print $2}')
current_patch=$(echo $current_extension_version | awk -F. '{print $3}')
Expand Down Expand Up @@ -121,8 +121,8 @@ jobs:
cd synopsys-task
git add package.json package-lock.json task.json
git commit -m "update extension version [skip ci]"
git push origin main
echo "Successful updated version in vss-extension-dev.json, extension_version.txt, package.json, package-lock.json & task.json file"
# git push origin main
# echo "Successful updated version in vss-extension-dev.json, extension_version.txt, package.json, package-lock.json & task.json file"
# git config --local user.name "github-actions[bot]"
# git config --local user.email "github-actions[bot]@users.noreply.github.com"
- name: Upload Artifact
Expand Down

0 comments on commit 512b399

Please sign in to comment.