fix unshallow

This commit is contained in:
crystal 2024-03-22 22:32:42 -06:00
parent 4b9f5060fd
commit 0ab3730c43
No known key found for this signature in database
GPG key ID: 1122054731F7CC43

View file

@ -58,7 +58,7 @@ steps:
secrets: [ cb_git_auth ]
commands:
- git remote add codeberg https://$CB_GIT_AUTH@codeberg.org/forgejo-contrib/forgejo-deb
- git fetch --unshallow origin
- if ( $(git rev-parse --is-shallow-repository) == "true" );then; git fetch --unshallow origin ;fi
- git fetch codeberg
- git push codeberg --tags refs/remotes/origin/*:refs/heads/*