File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/databricks-vscode Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 533533 "scripts" : {
534534 "vscode:prepublish" : " rm -rf out && yarn run package:compile && yarn run package:copy-webview-toolkit" ,
535535 "package" : " vsce package" ,
536- "package:cli:fetch" : " BRICKS_VERSION=v0.0.9 && bash ./scripts/fetch-bricks-cli.sh ${BRICKS_VERSION} ${BRICKS_ARCH:-}" ,
536+ "package:cli:fetch" : " BRICKS_VERSION=v0.0.11 && bash ./scripts/fetch-bricks-cli.sh ${BRICKS_VERSION} ${BRICKS_ARCH:-}" ,
537537 "package:cli:link" : " rm -f ./bin/bricks && ln -s ../../../../bricks/bricks bin" ,
538538 "package:compile" : " yarn run esbuild:base --minify" ,
539539 "package:copy-webview-toolkit" : " cp ./node_modules/@vscode/webview-ui-toolkit/dist/toolkit.js ./out/toolkit.js" ,
Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ cd ./bin
2121rm -rf bricks
2222BRICKS_BINARY=$( cd $BRICKS_DIR && ls bricks* )
2323# strip the version from the binary name but keep exe on Windows
24- BRICKS_TARGET_NAME=$( echo $BRICKS_BINARY | sed -E ' s/(.*)_v[0-9]\.[0-9]\.[0-9](\.exe)?/\1\2/g' )
24+ BRICKS_TARGET_NAME=$( echo $BRICKS_BINARY | sed -E ' s/(.*)_v[0-9]+ \.[0-9]+ \.[0-9]+ (\.exe)?/\1\2/g' )
2525mv $BRICKS_DIR /$BRICKS_BINARY $BRICKS_TARGET_NAME
2626rm -rf $BRICKS_DIR
You can’t perform that action at this time.
0 commit comments