> The release branches are protected from force pushes / deletes by GitHub, but > cherry-picking shouldn't require rewriting history right? Are you doing > something like this? > > ```shell > git fetch origin > git checkout v0.11.0 > git cherry-pick 0eabbac2160a8a630e1994969f664ccf6233fc7e > git push origin > ```
I was just trying to produce the tarball with the actual `v0.11.0` with that cherry-picked commit, but I'm probably missing something: ``` % git remote -v origin g...@github.com:leandron/tvm.git (fetch) origin g...@github.com:leandron/tvm.git (push) upstream g...@github.com:apache/tvm.git (fetch) upstream g...@github.com:apache/tvm.git (push) % git fetch upstream % git checkout upstream/v0.11.0 % git reset --hard upstream/v0.11.0 HEAD is now at 1d9863470 [TIR] Fix PlanAndUpdateBufferAllocationLocation not visiting constant buffer (#13605) % git cherry-pick 0eabbac2160a8a630e1994969f664ccf6233fc7e [v0.11.0 2f999d62e] [BugFix][UMA] Protect target registration (#13624) Author: Balint Cristian <cristian.bal...@gmail.com> Date: Fri Dec 16 15:23:26 2022 +0200 4 files changed, 42 insertions(+), 16 deletions(-) % git push upstream v0.11.0 Enumerating objects: 42, done. Counting objects: 100% (42/42), done. Delta compression using up to 8 threads Compressing objects: 100% (19/19), done. Writing objects: 100% (23/23), 3.93 KiB | 3.93 MiB/s, done. Total 23 (delta 18), reused 5 (delta 4), pack-reused 0 remote: Resolving deltas: 100% (18/18), completed with 18 local objects. remote: error: GH006: Protected branch update failed for refs/heads/v0.11.0. remote: error: At least 1 approving review is required by reviewers with write access. Commits must have valid signatures. To github.com:apache/tvm.git ! [remote rejected] v0.11.0 -> v0.11.0 (protected branch hook declined) error: failed to push some refs to 'github.com:apache/tvm.git' % ``` -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/issues/13586#issuecomment-1414158464 You are receiving this because you are subscribed to this thread. Message ID: <apache/tvm/issues/13586/1414158...@github.com>