mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-29 21:47:01 +02:00
25 lines
537 B
Markdown
25 lines
537 B
Markdown
|
# Woodpecker
|
||
|
|
||
|
By default, woodpecker only fetches tags on `tag` events. If you are not using a tag event, you will need to override the git plugin like so:
|
||
|
|
||
|
```yaml
|
||
|
clone:
|
||
|
git:
|
||
|
image: woodpeckerci/plugin-git
|
||
|
settings:
|
||
|
tags: true
|
||
|
```
|
||
|
|
||
|
Here is how to set up a basic release pipeline with [Woodpecker](https://woodpecker-ci.org) and [Gitea](https://gitea.io).
|
||
|
|
||
|
```yaml
|
||
|
pipeline:
|
||
|
release:
|
||
|
image: goreleaser/goreleaser
|
||
|
commands:
|
||
|
- goreleaser release
|
||
|
secrets: [ gitea_token ]
|
||
|
when:
|
||
|
event: tag
|
||
|
```
|