Elffuss BraidHub

kikocis/continue public

main · 425 B · executableRawPermalink
1#!/bin/bash
2
3# echo pwd
4echo "Current directory: $(pwd)"
5
6# Find the latest VSIX file in the build directory
7latest_vsix=$(ls -t ./build/continue-*.vsix | head -n1)
8
9if [ -z "$latest_vsix" ]; then
10 echo "No VSIX file found in build directory"
11 exit 1
12fi
13
14# Create e2e/vsix directory if it doesn't exist
15mkdir -p "./e2e/vsix"
16
17# Copy the file to e2e directory with fixed name
18cp "$latest_vsix" "./e2e/vsix/continue.vsix"