1
0
mirror of synced 2026-08-31 19:55:37 +00:00

Compare commits

...

4 Commits

Author SHA1 Message Date
Yury Semikhatsky ad2cebb6cb devops: fix docker publish workflow (#898) (#900) 2022-04-12 12:09:47 -07:00
Yury Semikhatsky eb97940e7a fix: get docker version from pom.xml (#899) 2022-04-12 12:08:26 -07:00
Yury Semikhatsky 9049460aca chore: roll release 1.21.0 driver (#896) 2022-04-12 10:46:14 -07:00
Yury Semikhatsky 0259e78182 chore: mark 1.21.0 (#895) 2022-04-12 10:30:12 -07:00
13 changed files with 23 additions and 15 deletions
@@ -3,6 +3,11 @@ on:
release: release:
types: [published] types: [published]
workflow_dispatch: workflow_dispatch:
inputs:
is_release:
required: true
type: boolean
description: "Is this a release image?"
branches: branches:
- release-* - release-*
jobs: jobs:
+1 -1
View File
@@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.microsoft.playwright</groupId> <groupId>com.microsoft.playwright</groupId>
<artifactId>parent-pom</artifactId> <artifactId>parent-pom</artifactId>
<version>1.21.0-SNAPSHOT</version> <version>1.21.0</version>
</parent> </parent>
<artifactId>driver-bundle</artifactId> <artifactId>driver-bundle</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.microsoft.playwright</groupId> <groupId>com.microsoft.playwright</groupId>
<artifactId>parent-pom</artifactId> <artifactId>parent-pom</artifactId>
<version>1.21.0-SNAPSHOT</version> <version>1.21.0</version>
</parent> </parent>
<artifactId>driver</artifactId> <artifactId>driver</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<groupId>org.example</groupId> <groupId>org.example</groupId>
<artifactId>examples</artifactId> <artifactId>examples</artifactId>
<version>1.21.0-SNAPSHOT</version> <version>1.21.0</version>
<name>Playwright Client Examples</name> <name>Playwright Client Examples</name>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+1 -1
View File
@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>com.microsoft.playwright</groupId> <groupId>com.microsoft.playwright</groupId>
<artifactId>parent-pom</artifactId> <artifactId>parent-pom</artifactId>
<version>1.21.0-SNAPSHOT</version> <version>1.21.0</version>
</parent> </parent>
<artifactId>playwright</artifactId> <artifactId>playwright</artifactId>
+1 -1
View File
@@ -6,7 +6,7 @@
<groupId>com.microsoft.playwright</groupId> <groupId>com.microsoft.playwright</groupId>
<artifactId>parent-pom</artifactId> <artifactId>parent-pom</artifactId>
<version>1.21.0-SNAPSHOT</version> <version>1.21.0</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Playwright Parent Project</name> <name>Playwright Parent Project</name>
<description>Java library to automate Chromium, Firefox and WebKit with a single API. <description>Java library to automate Chromium, Firefox and WebKit with a single API.
+1 -1
View File
@@ -1 +1 @@
1.21.0-beta-1649696820000 1.21.0
+1 -1
View File
@@ -6,7 +6,7 @@
<groupId>com.microsoft.playwright</groupId> <groupId>com.microsoft.playwright</groupId>
<artifactId>api-generator</artifactId> <artifactId>api-generator</artifactId>
<version>1.21.0-SNAPSHOT</version> <version>1.21.0</version>
<name>Playwright - API Generator</name> <name>Playwright - API Generator</name>
<description> <description>
This is an internal module used to generate Java API from the upstream Playwright This is an internal module used to generate Java API from the upstream Playwright
+1 -1
View File
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.playwright</groupId> <groupId>com.microsoft.playwright</groupId>
<artifactId>test-cli-version</artifactId> <artifactId>test-cli-version</artifactId>
<version>1.21.0-SNAPSHOT</version> <version>1.21.0</version>
<name>Test Playwright Command Line Version</name> <name>Test Playwright Command Line Version</name>
<properties> <properties>
<compiler.version>1.8</compiler.version> <compiler.version>1.8</compiler.version>
+1 -1
View File
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.playwright</groupId> <groupId>com.microsoft.playwright</groupId>
<artifactId>test-local-installation</artifactId> <artifactId>test-local-installation</artifactId>
<version>1.21.0-SNAPSHOT</version> <version>1.21.0</version>
<name>Test local installation</name> <name>Test local installation</name>
<description>Runs Playwright test suite (copied from playwright module) against locally cached Playwright</description> <description>Runs Playwright test suite (copied from playwright module) against locally cached Playwright</description>
<properties> <properties>
+1 -1
View File
@@ -9,7 +9,7 @@
</parent> </parent>
<groupId>com.microsoft.playwright</groupId> <groupId>com.microsoft.playwright</groupId>
<artifactId>test-spring-boot-starter</artifactId> <artifactId>test-spring-boot-starter</artifactId>
<version>1.21.0-SNAPSHOT</version> <version>1.21.0</version>
<name>Test Playwright With Spring Boot</name> <name>Test Playwright With Spring Boot</name>
<properties> <properties>
<spring.version>2.4.3</spring.version> <spring.version>2.4.3</spring.version>
+1 -1
View File
@@ -6,7 +6,7 @@
<groupId>com.microsoft.playwright</groupId> <groupId>com.microsoft.playwright</groupId>
<artifactId>update-version</artifactId> <artifactId>update-version</artifactId>
<version>1.21.0-SNAPSHOT</version> <version>1.21.0</version>
<name>Playwright - Update Version in Documentation</name> <name>Playwright - Update Version in Documentation</name>
<description> <description>
This is an internal module used to update versions in the documentation based on This is an internal module used to update versions in the documentation based on
+7 -4
View File
@@ -7,10 +7,13 @@ trap "cd $(pwd -P)" EXIT
cd "$(dirname "$0")" cd "$(dirname "$0")"
MCR_IMAGE_NAME="playwright/java" MCR_IMAGE_NAME="playwright/java"
# GITHUB_REF has a form of `refs/tags/v1.3.0`.
# TAG_NAME would be `v1.3.0` POM_FILE=../../pom.xml
TAG_NAME=${GITHUB_REF#refs/tags/} if [[ ! -f ${POM_FILE} ]]; then
PW_VERSION="${TAG_NAME#v}" echo "ERROR: pom.xml not found at ${POM_FILE}"
exit 1;
fi
PW_VERSION=$(mvn exec:exec -Dexec.executable='echo' -Dexec.args='${project.version}' -f ${POM_FILE} --non-recursive -q 2>/dev/null)
RELEASE_CHANNEL="$1" RELEASE_CHANNEL="$1"
if [[ "${RELEASE_CHANNEL}" == "stable" ]]; then if [[ "${RELEASE_CHANNEL}" == "stable" ]]; then