File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 39
39
40
40
- name : Build
41
41
run : |
42
- yarn run build:gitpod-web
42
+ yarn build:gitpod-web
43
+ yarn --cwd gitpod-web/ inject-commit-hash
43
44
44
45
- name : Docker build and push
45
46
uses : docker/build-push-action@v3
Original file line number Diff line number Diff line change 612
612
},
613
613
"scripts" : {
614
614
"vscode:prepublish" : " yarn build:webview && webpack --mode production" ,
615
+ "inject-commit-hash" : " jq '.commit = \" '$(git rev-parse --short HEAD)'\" ' package.json > package.json.tmp && mv package.json.tmp package.json" ,
615
616
"webpack" : " webpack --mode development" ,
616
617
"compile" : " tsc -b" ,
617
618
"watch" : " tsc -b -w" ,
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ export async function activate(context: vscode.ExtensionContext) {
19
19
return ;
20
20
}
21
21
22
+ gitpodContext . logger . info ( `Gitpod Web ${ context . extension . packageJSON . commit || context . extension . packageJSON . version } ` ) ;
23
+
22
24
context . globalState . setKeysForSync ( [ WELCOME_WALKTROUGH_KEY , ReleaseNotes . RELEASE_NOTES_LAST_READ_KEY ] ) ;
23
25
24
26
registerCommands ( gitpodContext ) ;
You can’t perform that action at this time.
0 commit comments