diff options
| author | crystal <crystal@noreply.codeberg.org> | 2024-03-22 22:32:42 -0600 |
|---|---|---|
| committer | crystal <crystal@noreply.codeberg.org> | 2024-03-22 22:32:42 -0600 |
| commit | 0ab3730c43999aa84f23d2cb14c96021267b87b3 (patch) | |
| tree | 176ab124c2b100dbcbd1e74cb8110417ffa31031 | |
| parent | 4b9f5060fd2c326a19a96795fde1dbe82bc1b7fb (diff) | |
fix unshallow
| -rw-r--r-- | .crystalintegration.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.crystalintegration.yml b/.crystalintegration.yml index 8903b62..d8112af 100644 --- a/.crystalintegration.yml +++ b/.crystalintegration.yml @@ -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/* |
