Skip to main content
Plugins / Gitea Release

Gitea Release

by Woodpecker Authors

Plugin to create a Gitea release


Woodpecker CI plugin to create a Gitea release. This plugin is a fork of drone-gitea-release.

If the release already exists matching the tag, it will be used without overwriting. Files will still be uploaded based on the file-exists setting.

Settings

Settings Name Default Description
api-key none Access Token for Gitea; required scope: repo (<=1.19) or write:repository and read:misc (>=1.20)
files none List of files to upload (accepts globs)
file-exists overwrite What to do if files already exist; one of overwrite, fail, or skip
checksum none Generate checksums for specific files
target none Branch where further development happens (usually main)
draft false Create a draft release
skip-verify false Visit base-url and skip verifying certificate
prerelease false Create a pre-release
base-url none Base URL of Gitea instance
note none File or string with notes for the release (ex: changelog)
title none File or string with the title for the release
env-file none Path to a .env file to load

Example

  publish:
    image: woodpeckerci/plugin-gitea-release
    settings:
        base_url: https://codeberg.org
        files:
          # Could also be "hello-world*" to match both
          - "hello-world"
          - "hello-world.exe"
        api_key:
          from_secret: GITEA_ACCESS_TOKEN
        target: main