devops: auto update browser versions in readme (#153)
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set +x
|
||||
|
||||
trap "cd $(pwd -P)" EXIT
|
||||
|
||||
cd "$(dirname $0)/.."
|
||||
|
||||
./scripts/generate_api.sh
|
||||
|
||||
# Built from source and do local install.
|
||||
mvn clean install --no-transfer-progress -DskipTests
|
||||
|
||||
echo "Updating browser versions in README.md"
|
||||
mvn exec:java --f ./tools/update-docs-version -Dexec.mainClass=com.microsoft.playwright.tools.UpdateBrowserVersions
|
||||
Reference in New Issue
Block a user