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 c88198a commit 6e50110
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-QAExtension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
cat task.json
else
new_version=$current_extension_version
echo "Extension version will not be updated automatically. Current version: ${new_version}"
echo "Extension version will not be updating automatically. Current version: ${new_version}"
fi
echo "NEW_VERSION=$new_version" >> $GITHUB_ENV
Expand Down Expand Up @@ -107,17 +107,17 @@ jobs:
echo "Publishing extension $extension_name with version $extension_version"
publish_exit_code=${PIPESTATUS[0]}
if [ $publish_exit_code -eq 0 ]; then
echo "Extension $extension_name version $extension_version published successfully!"
echo "Extension $extension_name with version $extension_version published successfully!"
else
echo "Failed to publish the extension $extension_name version $extension_version."
echo "Failed to publish the extension $extension_name with version $extension_version."
exit 1
fi
# npm i -g tfx-cli
# tfx extension publish --publisher ${PUBLISHER_NAME} --manifest-globs vss-extension-dev.json --share-with ${ORGANIZATION_NAME} --token ${USER_TOKEN} | tee tfx_output.log
# tfx extension publish --publisher TestCIPub --manifest-globs vss-extension-dev.json --token ${USER_TOKEN} | tee tfx_output.log

- name: push extension version in file
- name: update extension version in file
id: update-extension-version
if: ${{ steps.publish-qaextension.conclusion == 'success' && env.NEW_VERSION != env.CURRENT_VERSION }}
env:
Expand Down
2 changes: 1 addition & 1 deletion extension_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
published_extension_version=2.2.8
published_extension_version=2.2.9
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.3.0",
"version": "2.2.9",
"publisher": "TestCIPub",
"public": false,
"targets": [
Expand Down

0 comments on commit 6e50110

Please sign in to comment.