forward port branch related fix
@@ -76,7 +76,7 @@ public class BuildConfigTest {
var branch = format("%s.%s.x", pomVersion.getMajorVersion(), pomVersion.getMinorVersion());
Version released = Version.forIntegers(pomVersion.getMajorVersion(), pomVersion.getMinorVersion(),
pomVersion.getPatchVersion() - 1);
- assertTrue(srcRef.endsWith(format("/tree/2.2.%s", branch)));
+ assertTrue(srcRef.endsWith(format("/tree/%s", branch)));
assertEquals(version, released.toString());
}
}
