All checks were successful
continuous-integration/drone/push Build is passing
45 lines
4.3 KiB
Markdown
45 lines
4.3 KiB
Markdown
<p align="center">
|
|
<a href="https://odit.services" target="blank"><img src="https://odit.services/img/profile-pic-no_bg.webp" width="200" alt="ODIT Logo" /></a>
|
|
</p>
|
|
<h1 align="center">Drone Changelogger</h1>
|
|
|
|
 
|
|
|
|
|
|
Fun changlog and release generator.
|
|
Uses changelogen for changelog generation, is able to create gitea releases and publish the changelog via matrix
|
|
|
|
## Settings 🛠️
|
|
* `GITEA_DOMAIN`: Domain name of your gitea server - if not set release creation get's skipped
|
|
* `GITEA_APIKEY`: Api token for a gitea user that has the privileges to create releases in your repo
|
|
* `GITEA_DRAFT`: Mark gitea release as draft - defaults to false
|
|
* `GITEA_PRERELEASE`: Mark gitea release as prerelease - defaults to false
|
|
* `MATRIX_SERVER`: The matrix server's domain name - if not set notification sending get's skipped
|
|
* `MATRIX_USER`: The matrix user's username
|
|
* `MATRIX_PASSWORD`: The matrix user's password
|
|
* `MATRIX_ROOM`: The id of the notification matrix room (including the `!`)
|
|
* `VERSION_PREFIX`: Optional prefix for the messages title
|
|
|
|
## Examples
|
|
|
|
```yaml
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
steps:
|
|
- name: release
|
|
image: registry.odit.services/library/drone-changelogger
|
|
pull: always
|
|
settings:
|
|
GITEA_DOMAIN: git.odit.services
|
|
GITEA_APIKEY:
|
|
from_secret: gitea_token
|
|
GITEA_DRAFT: false
|
|
GITEA_PRERELEASE: true
|
|
MATRIX_SERVER: matrix.org
|
|
MATRIX_USER: "oditservicesbot"
|
|
MATRIX_PASSWORD:
|
|
from_secret: matrix_password
|
|
MATRIX_ROOM: "!qwertzuiopasdfghjk:matrix.org"
|
|
``` |