...

Text file src/github.com/playwright-community/playwright-go/scripts/update-patch.sh

Documentation: github.com/playwright-community/playwright-go/scripts

     1#!/bin/bash
     2
     3set -e
     4set +x
     5
     6SCRIPTS_DIR="$(dirname "$0")"
     7
     8pushd "$SCRIPTS_DIR/../playwright"
     9SCRIPTS_DIR="$(dirname "$0")"
    10echo "Creating patch..."
    11git add .
    12git diff --full-index playwright-build^1..playwright-build > ../patches/main.patch
    13git reset --hard playwright-build^1
    14cd ..
    15
    16popd

View as plain text