This repository was archived by the owner on Mar 6, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is to prevent the AOSP build number in sargo-vendor from updating if a build crashes. I had something happen where the build didn't finish, but sargo-vendor had already updated so the following builds thought AOSP was up-to-date
Similarly, I added some steps when checking if Chromium is updated to see if has been actually included in the most recent build. Currently, if a build dies after Chromium has been built, the revision number is updated even though the build never finished, so the script won't detect any need for changes on the next build. To prevent building Chromium repeatedly, I added a parameter to check if the most recent version built was included in the last release.
Look these over and let me know what you think, or if you have anything else in mind. I tested these changes but also please check if I made a mistake somewhere.