mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-22 14:24:13 +08:00
fix: remove redundant update-major-tag workflow that was incorrectly updating beta (#489)
The update-major-tag.yml workflow was: 1. Incorrectly updating the beta tag instead of major version tags 2. Redundant - release.yml already has an update-major-tag job that properly updates major version tags Removing this workflow ensures: - Beta tag stays at v0.0.63 and won't be automatically moved - No duplicate major tag update logic - Single source of truth for tag management in release.yml 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Kashyap Murali <13315300+katchu11@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
24
.github/workflows/update-major-tag.yml
vendored
24
.github/workflows/update-major-tag.yml
vendored
@@ -1,24 +0,0 @@
|
||||
name: Update Beta Tag
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
update-beta-tag:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Update beta tag
|
||||
run: |
|
||||
# Get the current release version
|
||||
VERSION=${GITHUB_REF#refs/tags/}
|
||||
|
||||
# Update the beta tag to point to this release
|
||||
git config user.name github-actions[bot]
|
||||
git config user.email github-actions[bot]@users.noreply.github.com
|
||||
git tag -fa beta -m "Update beta tag to ${VERSION}"
|
||||
git push origin beta --force
|
||||
Reference in New Issue
Block a user