diff options
author | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2024-04-25 16:37:44 +0200 |
---|---|---|
committer | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2024-04-25 16:37:47 +0200 |
commit | 03c51383572ce5be6e4b7de6b73d1b14779c2c89 (patch) | |
tree | d7c50c5ee6fa53181925bff83df516f0527f0ebb | |
parent | c1883aaf9d36479c14d0a544c5c1a2ac2fd1e135 (diff) |
useful in case of option --commit_artifacts false
Change-Id: I81e23c6fa5bacbd43413a1c567e67400464b9140
-rwxr-xr-x | round-robin-baseline.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/round-robin-baseline.sh b/round-robin-baseline.sh index 70f38434..2dea2322 100755 --- a/round-robin-baseline.sh +++ b/round-robin-baseline.sh @@ -542,6 +542,9 @@ if $commit_artifacts; then update_baseline fi +# make sure base-artifact repository is clean to continue +git -C base-artifacts reset --hard + # Compute the maximum of revisions that we accept to remove. If we remove # more than we expected. This is suspicious, stop the rewriting process declare nb_revs nb_removed_revs |