Logo
Explore Help
Register Sign In
yujunjun/playwright
1
0
Fork 0
You've already forked playwright
mirror of https://github.com/microsoft/playwright.git synced 2025-06-26 21:40:17 +00:00
Code Issues Packages Projects Releases Wiki Activity
playwright/utils/apply_next_version.js

11 lines
321 B
JavaScript
Raw Normal View History

Initial commit
2019-11-18 18:18:28 -08:00
const package = require('../package.json');
let version = package.version;
const dashIndex = version.indexOf('-');
if (dashIndex !== -1)
version = version.substring(0, dashIndex);
chore(ci): another attempt to program in .travis.yml
2020-02-28 16:17:59 -08:00
version += '-next.' + Date.now();
Initial commit
2019-11-18 18:18:28 -08:00
console.log('Setting version to ' + version);
feat: setup continuous deployment (#1159) This patch sets continuous deployment of playwright packages from tip-of-tree. These packages are released under the "@next", so it should be possible to install tip-of-tree version of Playwright from NPM using ``` npm i playwright@next ``` A few technical details: - This uses travis to drive deployments - This deploys from master and only if all browsers pass all tests on linux - This is an attempt to deploy just two packages: `playwright-core` and `playwright-firefox`. If this works out, I'll follow-up with other packages as well
2020-02-28 11:02:42 -08:00
execSync(`npm --no-git-tag-version version ${version}`);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 588ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API