Skip to content

Commit 15c7c52

Browse files
authored
Update 70checkmarketplace.yml
1 parent 4276283 commit 15c7c52

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

buildspec/release/70checkmarketplace.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ phases:
2626
- |
2727
if [ "${TARGET_EXTENSION}" = "amazonq" ]; then
2828
extension_name="amazonwebservices.amazon-q-vscode"
29-
beta_version="1.44.0"
29+
beta_version="@1.43.0"
3030
elif [ "${TARGET_EXTENSION}" = "toolkit" ]; then
3131
extension_name="amazonwebservices.aws-toolkit-vscode"
32-
beta_version="3.43.0"
32+
beta_version="@3.42.0"
3333
else
3434
echo checkmarketplace: "Unknown TARGET_EXTENSION: ${TARGET_EXTENSION}"
3535
exit 1
@@ -38,16 +38,14 @@ phases:
3838
- |
3939
if [ "$STAGE" != "prod" ]; then
4040
echo "checkmarketplace: Non-production stage detected. Installing beta version "${beta_version}"."
41-
code_command="code-insiders"
4241
else
43-
code_command="code"
4442
beta_version=""
4543
fi
4644
# keep reinstalling the extension until the desired version is updated. Otherwise fail on codebuild timeout (1 hour).
4745
- |
4846
while true; do
49-
$code_command --uninstall-extension "${extension_name}" --no-sandbox --user-data-dir /tmp/vscode
50-
$code_command --install-extension "${extension_name}${beta_version}" --no-sandbox --user-data-dir /tmp/vscode
47+
code --uninstall-extension "${extension_name}" --no-sandbox --user-data-dir /tmp/vscode
48+
code --install-extension "${extension_name}${beta_version}" --no-sandbox --user-data-dir /tmp/vscode
5149
cur_version=$(code --list-extensions --show-versions --no-sandbox --user-data-dir /tmp/vscode | grep ${extension_name} | cut -d'@' -f2)
5250
if [ "${cur_version}" = "${VERSION}" ]; then
5351
echo "checkmarketplace: Extension ${extension_name} is updated to version '${cur_version}.'"

0 commit comments

Comments
 (0)