fix(ci): force-push tags in Codeberg mirror workflow (#633)
git push --tags fails when a tag already exists on Codeberg (e.g. v0.15.0 from a prior sync or retag). GitHub is the source of truth for this read-only mirror, so force-push tags to keep them aligned. Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Jatin K Malik <jatinkrmalik@users.noreply.github.com>
This commit is contained in:
co-authored by
Cursor Agent
Jatin K Malik
parent
27eb1d3807
commit
fe9584e21e
@@ -40,4 +40,6 @@ jobs:
|
||||
|
||||
git remote add codeberg git@codeberg.org:jatinkrmalik/vocalinux.git
|
||||
git push codeberg --all
|
||||
git push codeberg --tags
|
||||
# Force tags so the mirror stays aligned with GitHub when a tag
|
||||
# already exists on Codeberg (retagged release or prior partial sync).
|
||||
git push codeberg --tags --force
|
||||
|
||||
Reference in New Issue
Block a user