Skip to content

Commit

Permalink
[code] replace version during build time
Browse files Browse the repository at this point in the history
  • Loading branch information
mustard-mh authored and roboquat committed Sep 16, 2022
1 parent 94130fc commit ac16572
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/ide/code/leeway.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ RUN yarn --cwd extensions compile \
# Check pkg/blobserve/blobserve.go, `inlineVars` method
RUN cp /vscode-web/out/vs/gitpod/browser/workbench/workbench.html /vscode-web/index.html \
&& cp /vscode-web/out/vs/gitpod/browser/workbench/callback.html /vscode-web/callback.html \
&& sed -i -e 's#static/##g' /vscode-web/index.html
&& sed -i -e 's#static/##g' /vscode-web/index.html \
&& sed -i -e "s/{{VERSION}}/$CODE_QUALITY-$CODE_COMMIT/g" /vscode-web/index.html

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

0 comments on commit ac16572

Please sign in to comment.