mirror of
https://github.com/playwright-community/playwright-go.git
synced 2026-06-06 21:08:17 +08:00
16 lines
276 B
Bash
Executable File
16 lines
276 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set +x
|
|
|
|
SCRIPTS_DIR="$(dirname "$0")"
|
|
|
|
pushd "$SCRIPTS_DIR/../playwright"
|
|
SCRIPTS_DIR="$(dirname "$0")"
|
|
echo "Creating patch..."
|
|
git add .
|
|
git diff playwright-build^1..playwright-build > ../patches/main.patch
|
|
git reset --hard playwright-build^1
|
|
cd ..
|
|
|
|
popd |