Refactor JIT kernel CI to use run_suite.py registration system (#21239)

This commit is contained in:
Lianmin Zheng
2026-03-23 21:17:27 -07:00
committed by GitHub
parent 0986bed8e2
commit 260abe1fb1
63 changed files with 312 additions and 87 deletions
-30
View File
@@ -1,30 +0,0 @@
#!/bin/bash
set -euxo pipefail
# This script is used for release.
# It tags all remote branches starting with 'v' with the same name as the branch,
# deletes the corresponding branches from the remote, and pushes the tags to the remote repository.
git fetch origin --prune
# List all branches starting with 'v'
branches=$(git branch -r | grep 'origin/v' | sed 's/origin\///')
# Loop through each branch
for branch in $branches; do
echo "Processing branch: $branch"
# Get the commit hash for the branch
commit_hash=$(git rev-parse origin/$branch)
# Create a tag with the same name as the branch using the commit hash
git tag $branch $commit_hash
# Delete the branch from the remote
git push origin --delete $branch
done
# Push all tags to the remote repository
git push --tags
echo "All branches starting with 'v' have been tagged, deleted from remote, and pushed to the remote repository."