Skip to content

Commit ac16572

Browse files
mustard-mhroboquat
authored andcommitted
[code] replace version during build time
1 parent 94130fc commit ac16572

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/ide/code/leeway.Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ RUN yarn --cwd extensions compile \
7171
# Check pkg/blobserve/blobserve.go, `inlineVars` method
7272
RUN cp /vscode-web/out/vs/gitpod/browser/workbench/workbench.html /vscode-web/index.html \
7373
&& cp /vscode-web/out/vs/gitpod/browser/workbench/callback.html /vscode-web/callback.html \
74-
&& sed -i -e 's#static/##g' /vscode-web/index.html
74+
&& sed -i -e 's#static/##g' /vscode-web/index.html \
75+
&& sed -i -e "s/{{VERSION}}/$CODE_QUALITY-$CODE_COMMIT/g" /vscode-web/index.html
7576

7677
# cli config: alises to gitpod-code
7778
RUN cp /vscode-reh-linux-x64/bin/remote-cli/gitpod-code /vscode-reh-linux-x64/bin/remote-cli/code \

0 commit comments

Comments
 (0)