38 lines
794 B
YAML
38 lines
794 B
YAML
when:
|
|
event: tag
|
|
branch: main
|
|
|
|
steps:
|
|
build:
|
|
image: golang:1.20-alpine
|
|
commands:
|
|
- apk update
|
|
- apk add --no-cache make alpine-sdk g++ bash
|
|
- make build
|
|
- echo "$${CI_COMMIT_TAG}"
|
|
- make release
|
|
|
|
generate-changelog:
|
|
image: python:3.11-alpine
|
|
commands:
|
|
- apk update
|
|
- apk add --no-cache make alpine-sdk g++ bash
|
|
- make changelog-draft
|
|
|
|
release:
|
|
image: woodpeckerci/plugin-gitea-release
|
|
when:
|
|
event: tag
|
|
settings:
|
|
base_url: https://git.iratusmachina.com
|
|
files:
|
|
- "artifacts/*.tar.gz"
|
|
file-exists: overwrite
|
|
api_key:
|
|
from_secret: gitea_release_token
|
|
draft: true
|
|
skip_verify: true
|
|
target: main
|
|
checksum: sha256
|
|
note: "./draft_notes.md"
|