Skip to content

Commit af05237

Browse files
authored
Fix release script (#6579)
1 parent 5a893f3 commit af05237

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release.main.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ fun setVersionInIntelliJPlugin(version: String) {
245245
}
246246

247247
fun setVersionInFixtures(nextSnapshot: String) {
248-
for (file in File("tests/integration-tests/testFixtures").walk()) {
249-
if (file.isDirectory || !file.name.endsWith(".json")) continue
248+
for (file in File("tests/integration-tests").walk()) {
249+
if (file.isDirectory || !file.name.endsWith(".json") && !file.name.endsWith(".kt")) continue
250250
val content = file.readText()
251251
.replace(Regex("""\{"name":"apollo-kotlin","version":"(.+)"\}""")) {
252252
"""{"name":"apollo-kotlin","version":"$nextSnapshot"}"""

0 commit comments

Comments
 (0)