chore: rust-release.yml should update the latest-alpha-cli branch

This commit is contained in:
Michael Bolin
2025-09-10 23:09:30 -07:00
parent 162e1235a8
commit b1eb9dc185

View File

@@ -219,3 +219,22 @@ jobs:
with:
tag: ${{ github.ref_name }}
config: .github/dotslash-config.json
update-branch:
name: Update latest-alpha-cli branch
permissions:
contents: write
needs: release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch all history for all branches and tags
- name: Update latest-alpha-cli branch
run: |
set -euo pipefail
git branch -f latest-alpha-cli "${GITHUB_REF_NAME}"
git push origin latest-alpha-cli --force