Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pbo-linaro committed Oct 15, 2024
1 parent 1e27ef8 commit 2386f20
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions push_new_series.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,14 @@ do
base_git_revision=$(git log -n1 --format=format:%H --before="$date" --first-parent upstream/master)
echo $base_git_revision

git checkout $base_git_revision
b4 shazam $msg_id
git checkout "$base_git_revision"
git branch -D $msg_id || true
git checkout -b $msg_id
git push -f --set-upstream origin $msg_id
if git checkout -b $msg_id; then
if ! b4 shazam $msg_id |& tee apply.log; then
git am --abort
git add apply.log
git commit -m 'am failed'
fi
git push --set-upstream origin $msg_id
fi
done

0 comments on commit 2386f20

Please sign in to comment.