Skip to content

Commit

Permalink
Idempotent on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
austinpray committed Dec 10, 2018
1 parent e2cc2da commit a7df69e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/update-repo.php
Expand Up @@ -174,6 +174,9 @@ function validateRelease($release) {

function pushTags()
{
if (!run('git fetch --tags ' . escapeshellarg(getGitRemote()))) {
throw new \RuntimeException('could not fetch tags');
}
$stagingDir = tempdir();
$releases = getWPReleases();
foreach ($releases as $release) {
Expand Down

0 comments on commit a7df69e

Please sign in to comment.