Skip to content

Commit 2376f12

Browse files
Bump bricks to v0.0.11 (#259)
Co-authored-by: Fabian Jakobs <[email protected]>
1 parent a720b6e commit 2376f12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/databricks-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@
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",

packages/databricks-vscode/scripts/fetch-bricks-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ cd ./bin
2121
rm -rf bricks
2222
BRICKS_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')
2525
mv $BRICKS_DIR/$BRICKS_BINARY $BRICKS_TARGET_NAME
2626
rm -rf $BRICKS_DIR

0 commit comments

Comments
 (0)