Zum Inhalt springen

Plugin: provider-gitea

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Publishes releases to a Gitea instance. It is a good fit for self-hosted teams that manage repositories and releases in Gitea.

Terminal window
go install github.com/SemRels/provider-gitea@latest

Each plugin is a standalone Go binary. Keep it on your PATH or reference it with path: in .semrel.yaml. If you keep secrets in a .env file, load them with semrel --env-file .env release.

version: 1
plugins:
- name: provider-gitea
path: provider-gitea
args:
base_url: 'https://gitea.example.com'
token: '${{ env.GITEA_TOKEN }}'
owner: SemRels
repo: semrel
draft: false
NameRequiredDefaultDescription
SEMREL_PLUGIN_BASE_URLyesBase URL for the Gitea instance.
SEMREL_PLUGIN_TOKENyesAPI token for Gitea authentication.
SEMREL_PLUGIN_OWNERnocurrent repository ownerRepository owner or organization.
SEMREL_PLUGIN_REPOnocurrent repository nameRepository name to publish into.
SEMREL_PLUGIN_DRAFTnofalseCreate the release as a draft.
  • SEMREL_TAG_NAME
  • SEMREL_NEXT_VERSION
  • SEMREL_CURRENT_VERSION
  • SEMREL_CHANGELOG
  • SEMREL_DRY_RUN

For v1.4.0, the provider can create a Gitea release that uses the SemRel tag name and publishes the generated changelog body.