From 1c4c12549a76c91ba4b4a2c92b159730e62b5a44 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 16 Oct 2023 15:01:34 +0200 Subject: [PATCH] use full depth for git fetch --- .woodpecker/build-container.yml | 2 +- .woodpecker/build-package.yml | 4 ++-- .woodpecker/lint.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.woodpecker/build-container.yml b/.woodpecker/build-container.yml index 9537803..a2b3022 100644 --- a/.woodpecker/build-container.yml +++ b/.woodpecker/build-container.yml @@ -9,7 +9,7 @@ steps: build: image: docker.io/library/python:3.12 commands: - - git fetch -tq + - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry build diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml index 7dd59c7..557cbbf 100644 --- a/.woodpecker/build-package.yml +++ b/.woodpecker/build-package.yml @@ -9,7 +9,7 @@ steps: build: image: docker.io/library/python:3.12 commands: - - git fetch -tq + - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry build @@ -48,7 +48,7 @@ steps: - source: pypi_username target: POETRY_HTTP_BASIC_PYPI_USERNAME commands: - - git fetch -tq + - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry publish -n when: diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index afac23d..76d46a0 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -9,7 +9,7 @@ steps: check-format: image: docker.io/library/python:3.12 commands: - - git fetch -tq + - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry install - poetry run yapf -dr ./${CI_REPO_NAME//-/} @@ -19,7 +19,7 @@ steps: check-coding: image: docker.io/library/python:3.12 commands: - - git fetch -tq + - git fetch --depth=2147483647 - pip install poetry poetry-dynamic-versioning -qq - poetry install - poetry run ruff ./${CI_REPO_NAME//-/}