Skip to content

Commit

Permalink
upgrade openvsx server to 0.16.0; fix import extensions with * vscode…
Browse files Browse the repository at this point in the history
… engine version (#1958)

* upgrade openvsx server to 0.16.0; fix import extensions with * vscode engine version

Signed-off-by: Valeriy Svydenko <[email protected]>

* fix OS ci build

Signed-off-by: Valeriy Svydenko <[email protected]>

---------

Signed-off-by: Valeriy Svydenko <[email protected]>
  • Loading branch information
svor authored Jul 25, 2024
1 parent 50cba26 commit 6e68583
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2018-2022 Red Hat, Inc.
# Copyright (c) 2018-2024 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
Expand All @@ -11,8 +11,8 @@
# IBM Corporation - implementation
#

# OpenVSX
FROM ghcr.io/eclipse/openvsx-server:v0.14.5 AS openvsx-server
# OpenVSX https://github.com/eclipse/openvsx/pkgs/container/openvsx-server
FROM ghcr.io/eclipse/openvsx-server:v0.16.0 AS openvsx-server

# UBI Builder
# https://registry.access.redhat.com/ubi8/ubi
Expand Down
2 changes: 1 addition & 1 deletion build/dockerfiles/import-vsix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ for i in $(seq 0 "$((numberOfExtensions - 1))"); do
vscodeEngineVersion="${vscodeEngineVersion//x/0}"
# check if the extension's engine version is compatible with the code version
# if the extension's engine version is ahead of the code version, check a next version of the extension
if [[ "$vscodeEngineVersion" = "$(echo -e "$vscodeEngineVersion\n$codeVersion" | sort -V | head -n1)" ]]; then
if [[ "$vscodeEngineVersion" == "*" || "$vscodeEngineVersion" = "$(echo -e "$vscodeEngineVersion\n$codeVersion" | sort -V | head -n1)" ]]; then
#VS Code version >= Engine version, can proceed."
resultedVersion=$(echo "${vsixMetadata}" | jq -r ".version")
break
Expand Down

0 comments on commit 6e68583

Please sign in to comment.