Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: fix utils/apply_next_version.js
Andrey Lushnikov62e2570e67dc
diff --git a/utils/apply_next_version.js b/utils/apply_next_version.jsindex 1cbcc4ca30..c419b6e3f9 100644--- a/utils/apply_next_version.js+++ b/utils/apply_next_version.js@@ -1,3 +1,5 @@+const {execSync} = require('child_process');+const package = require('../package.json');let version = package.version;const dashIndex = version.indexOf('-');diff --git a/utils/publish_all_packages.sh b/utils/publish_all_packages.shindex d3a19778b5..82e935b1d9 100755--- a/utils/publish_all_packages.sh+++ b/utils/publish_all_packages.sh@@ -21,7 +21,7 @@ if [[ $# < 1 ]]; thenfiif [[ $(git rev-parse --abbrev-ref HEAD) != "master" ]]; then- echo "ERROR: Cannot publish from branch other then 'master'"+ echo "ERROR: Cannot publish from branch '$(git rev-parse --abbrev-ref HEAD)' - it has to be 'master'"exit 1fi