We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 154ff06 commit 7d8830fCopy full SHA for 7d8830f
scripts/build-vsix.sh
@@ -41,7 +41,8 @@ echo "$PACKAGE_OUTPUT"
41
42
# Extract the VSIX filename from the package output
43
# The output contains a line like: "Packaged: /path/to/paw-workflow-X.Y.Z.vsix (N files, SIZE)"
44
-VSIX_PATH=$(echo "$PACKAGE_OUTPUT" | grep -oP 'Packaged: .*/\K[^/]+\.vsix' | head -1)
+# Use sed for cross-platform compatibility (macOS grep doesn't support -P)
45
+VSIX_PATH=$(echo "$PACKAGE_OUTPUT" | grep "Packaged:" | sed 's/.*Packaged: //' | sed 's/ .*//')
46
47
if [ -z "$VSIX_PATH" ]; then
48
echo "Error: Could not determine VSIX filename from package output"
0 commit comments