Skip to content

Commit 42d8641

Browse files
committed
Fetch tags manually
1 parent d572b96 commit 42d8641

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/system/AutoReview/CreateNewChangelogTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ protected function setUp(): void
3131
{
3232
parent::setUp();
3333

34+
exec('git fetch --tags origin 2>/dev/null', $output, $exitCode);
35+
36+
if ($exitCode !== 0) {
37+
$this->markTestSkipped('Unable to fetch git tags from origin.');
38+
}
39+
3440
exec('git describe --tags --abbrev=0 2>/dev/null', $output, $exitCode);
3541

3642
if ($exitCode !== 0) {

0 commit comments

Comments
 (0)