Skip to content

Commit 5cc8b8f

Browse files
committed
ed fix readme replace script
1 parent 3bcec5b commit 5cc8b8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ If you're using Maven, add this to your pom file:
7070

7171
```gradle
7272
dependencies {
73-
testImplementation("com.approvaltests:approvaltests:d+.d+.d+11.2.3")
73+
testImplementation("com.approvaltests:approvaltests:11.2.3")
7474
}
7575
```
7676

build/UpdateVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public static void main(String[] args) throws IOException {
99
replaceTextInFile("README.md", "<version>\\d+.\\d+.\\d+</version>",
1010
"<version>" + version + "</version>");
1111
replaceTextInFile("README.md", "com.approvaltests:approvaltests:\\d+.\\d+.\\d+",
12-
"com.approvaltests:approvaltests:\\d+.\\d+.\\d+" + version);
12+
"com.approvaltests:approvaltests:" + version);
1313
}
1414

1515
private static void replaceTextInFile(String fileName, String regex, String replacement)

0 commit comments

Comments
 (0)