fix unshallow
This commit is contained in:
parent
4b9f5060fd
commit
0ab3730c43
|
@ -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/*
|
||||
|
||||
|
|
Loading…
Reference in a new issue