File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,12 @@ if (!consoleCommit) {
4040 Deno . exit ( 1 )
4141}
4242
43+ const fullCommit = await $ `git rev-parse ${ consoleCommit } ` . text ( )
44+
45+ if ( consoleCommit !== fullCommit ) {
46+ console . log ( `Resolved ${ consoleCommit } to ${ fullCommit } ` )
47+ }
48+
4349console . info ( 'Finding nexus zones...' )
4450const zones : string = await $ `./tools/dogfood/find-zone.sh nexus` . text ( )
4551const gimletNums = zones
@@ -49,7 +55,7 @@ const gimletNums = zones
4955
5056console . info ( `Found: ${ JSON . stringify ( gimletNums ) } \n` )
5157
52- const TARBALL_URL = `https://dl.oxide.computer/releases/console/${ consoleCommit } .tar.gz`
58+ const TARBALL_URL = `https://dl.oxide.computer/releases/console/${ fullCommit } .tar.gz`
5359const TARBALL_FILE = '/tmp/console.tar.gz'
5460
5561console . info ( `Downloading tarball to ${ TARBALL_FILE } ` )
You can’t perform that action at this time.
0 commit comments