File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 10
10
<name >Playwright Client Examples</name >
11
11
<properties >
12
12
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
13
+ <playwright .version>1.49.0</playwright .version>
13
14
</properties >
14
15
<dependencies >
15
16
<dependency >
16
17
<groupId >com.microsoft.playwright</groupId >
17
18
<artifactId >playwright</artifactId >
18
- <version >1.41.0 </version >
19
+ <version >${playwright.version} </version >
19
20
</dependency >
20
21
</dependencies >
21
22
<build >
Original file line number Diff line number Diff line change 24
24
fi ;
25
25
26
26
./generate_api.sh
27
- ./update_readme.sh
27
+ ./update_readme.sh
28
+
29
+ node -e " $( cat << EOF
30
+ let [majorVersion, minorVersion] = process.argv[1].split('-')[0].split('.').map(part => parseInt(part, 10));
31
+ minorVersion[1]--;
32
+ const previousMajorVersion = majorVersion + '.' + minorVersion + '.0';
33
+ fs.writeFileSync('../examples/pom.xml', fs.readFileSync('../examples/pom.xml', 'utf8')
34
+ .replace(/<playwright\.version>.*<\/playwright\.version>/, '<playwright\.version>' + previousMajorVersion + '</playwright\.version>')
35
+ );
36
+ EOF
37
+ ) " $NEW_VERSION
You can’t perform that action at this time.
0 commit comments