diff options
| author | 2025-04-27 22:07:59 +0000 | |
|---|---|---|
| committer | 2025-04-27 22:07:59 +0000 | |
| commit | 7dae3364fac3168a12ceb18df42a9f518d9b913f (patch) | |
| tree | 62117d187e2b9d76212612999dca9ef943ad87c1 | |
| parent | [chore] Fix CI/CD snapshot / release (#4068) (diff) | |
| download | gotosocial-7dae3364fac3168a12ceb18df42a9f518d9b913f.tar.xz | |
[chore] Override woodpecker plugin for snapshot + release to get tags (#4069)
We need tags to do snapshots + releases properly! Another cheeky little difference from drone.
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4069
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
| -rw-r--r-- | .woodpecker/release.yaml | 8 | ||||
| -rw-r--r-- | .woodpecker/snapshot.yaml | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml index c403cb533..fb22c50ad 100644 --- a/.woodpecker/release.yaml +++ b/.woodpecker/release.yaml @@ -1,3 +1,11 @@ +# https://goreleaser.com/ci/woodpecker/ +# https://woodpecker-ci.org/docs/usage/workflow-syntax#clone +clone: + git: + image: woodpeckerci/plugin-git + settings: + tags: true + # https://woodpecker-ci.org/docs/usage/workflow-syntax#when---global-workflow-conditions when: - event: tag diff --git a/.woodpecker/snapshot.yaml b/.woodpecker/snapshot.yaml index 7d613ffd2..01bb79b40 100644 --- a/.woodpecker/snapshot.yaml +++ b/.woodpecker/snapshot.yaml @@ -1,3 +1,11 @@ +# https://goreleaser.com/ci/woodpecker/ +# https://woodpecker-ci.org/docs/usage/workflow-syntax#clone +clone: + git: + image: woodpeckerci/plugin-git + settings: + tags: true + # https://woodpecker-ci.org/docs/usage/workflow-syntax#when---global-workflow-conditions when: - event: push |
