From e9e361ae60db328637bce059379169a3ce8fedbf Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Fri, 26 Jul 2024 19:41:57 +0100 Subject: [PATCH] ci: full clone for valid rev-list so that deb packages have the correct epoch value. --- .woodpecker/git-binary.yaml | 2 ++ .woodpecker/stable-binary.yaml | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/.woodpecker/git-binary.yaml b/.woodpecker/git-binary.yaml index 3c4a37e..b8c2d80 100644 --- a/.woodpecker/git-binary.yaml +++ b/.woodpecker/git-binary.yaml @@ -8,6 +8,8 @@ clone: image: woodpeckerci/plugin-git settings: tags: true + partial: false + depth: 0 steps: - name: redoc diff --git a/.woodpecker/stable-binary.yaml b/.woodpecker/stable-binary.yaml index c745293..e805958 100644 --- a/.woodpecker/stable-binary.yaml +++ b/.woodpecker/stable-binary.yaml @@ -2,6 +2,14 @@ when: - event: tag branch: main +clone: + git: + image: woodpeckerci/plugin-git + settings: + tags: true + partial: false + depth: 0 + steps: - name: build image: docker.io/hrfee/jfa-go-build-docker:latest