Skip to content

Prepare for longer commit hashes #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script/generate_snap_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function parse_meta($path)
/* Currently we always regenerate the snaps page completely. Alternatively, some more data might need
to be checked, for the case the script execution were caught at unlucky point where some build
upload is in the incomplete state. Both methods have their up and down sides. */
if ($force || substr($new['revision_last'], 0, 7) != substr($data[$branch_name]['revision_last'], 1)) {
if ($force || substr($new['revision_last'], 0, 10) != substr($data[$branch_name]['revision_last'], 1)) {
echo "new revision\n";
$has_new_revision = true;
$data[$branch_name] = $new;
Expand Down