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 5e8dcc8 commit c88198a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/publish-QAExtension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,20 @@ jobs:
jq --arg new_version "$new_version" '.version = $new_version' vss-extension-dev.json > vss-extension-dev.json.tmp && mv vss-extension-dev.json.tmp vss-extension-dev.json
echo "Updated vss-extension-dev.json file"
cat vss-extension-dev.json
echo
echo "Updating extension_version.txt with the new version: ${new_version}"
sed -i "s/published_extension_version=.*/published_extension_version=$new_version/" extension_version.txt
cat extension_version.txt
echo "Updated extension_version.txt file"
echo
cd synopsys-task
echo "Updating package.json with the new version: ${new_version}"
jq --arg new_version "$new_version" '.version = $new_version' package.json > package.json.tmp && mv package.json.tmp package.json
cat package.json
echo "Updated package.json file"
echo
echo "Updating package-lock.json with the new version: ${new_version}"
jq --arg new_version "$new_version" '(.version = $new_version) | (.packages[""].version = $new_version)' package-lock.json > package-lock.json.tmp && mv package-lock.json.tmp package-lock.json
Expand Down
2 changes: 1 addition & 1 deletion vss-extension-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "QAtest",
"name": "extensionTest",
"version": "2.2.8",
"version": "2.3.0",
"publisher": "TestCIPub",
"public": false,
"targets": [
Expand Down

0 comments on commit c88198a

Please sign in to comment.