Skip to content

Commit 1c0948a

Browse files
author
132612
committed
V21.9.1 - 2021-09-20
1 parent eb30ecd commit 1c0948a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

update.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php
22

3+
exec('/usr/bin/php8.0 composer.phar self-update');
34
exec('/usr/bin/php8.0 composer.phar update');
45

56
include 'vendor/autoload.php';
@@ -59,11 +60,8 @@
5960

6061
// commit and tag it with version number
6162
$date = date('Y-m-d');
62-
echo "{$version} - {$date}";
6363
$repo->run('commit', ['-m', "{$version} - {$date}"]);
64-
$repo->run('tag', ['-a', $version, '-m', "'Auto generated on {$date}'"]);
64+
$repo->run('tag', ['-a', $version, '-m', "Auto generated on {$date}"]);
6565

6666
// push and publish
6767
$repo->run('push');
68-
69-

0 commit comments

Comments
 (0)