Skip to content

Commit 5f11f86

Browse files
authored
Update the Composer root version (#334)
1 parent 2216e25 commit 5f11f86

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
build:
22
environment:
33
variables:
4-
COMPOSER_ROOT_VERSION: '0.11.99'
4+
COMPOSER_ROOT_VERSION: '0.12.99'
55

66
nodes:
77
analysis:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ clean:
1919

2020
update-root-version: ## Check the lastest GitHub release and update COMPOSER_ROOT_VERSION accordingly
2121
update-root-version:
22-
rm .composer-root-version
22+
rm .composer-root-version || true
2323
$(MAKE) .composer-root-version
2424

2525

bin/check-composer-root-version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
try {
1818
$composerRootVersion = get_composer_root_version(get_last_tag_name());
1919
} catch (RuntimeException $exception) {
20-
if ('humbug/box' !== getenv('TRAVIS_REPO_SLUG')) {
20+
if (false !== getenv('TRAVIS') && false === getenv('GITHUB_TOKEN')) {
2121
// Ignore this PR to avoid too many builds to fail untimely or locally due to API rate limits because the last
2222
// release version could not be retrieved.
2323
return;

0 commit comments

Comments
 (0)