Skip to content

chore: force-fetch tags in release script#17

Merged
sohil-kshirsagar merged 1 commit intomainfrom
chore/fix-release-tag-fetch
Mar 13, 2026
Merged

chore: force-fetch tags in release script#17
sohil-kshirsagar merged 1 commit intomainfrom
chore/fix-release-tag-fetch

Conversation

@sohil-kshirsagar
Copy link
Contributor

@sohil-kshirsagar sohil-kshirsagar commented Mar 13, 2026

Adds --force to git fetch --tags in the release script.

The release script force-updates the major version tag (e.g. v1) on each release. This means anyone who isn't the last person to release will have a stale local tag. Without --force, git fetch --tags refuses to overwrite it, causing the script to fail with "would clobber existing tag".


Summary by cubic

Force-fetch tags in the release script to overwrite stale local major tags (e.g., v1) and prevent "would clobber existing tag" failures. Adds --force to the git fetch --tags call in scripts/release.sh.

Written for commit 702912a. Summary will update on new commits.

@sohil-kshirsagar sohil-kshirsagar requested a review from jy-tan March 13, 2026 01:03
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@sohil-kshirsagar sohil-kshirsagar merged commit 05b2f23 into main Mar 13, 2026
8 checks passed
@sohil-kshirsagar sohil-kshirsagar deleted the chore/fix-release-tag-fetch branch March 13, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants