Vendor the root component-release helpers, add source packaging plus release-evidence, and split publish (tag/manual) from notify (release event).
18 lines
507 B
YAML
18 lines
507 B
YAML
# Fast-path notification after a completed Gitea release.
|
|
when:
|
|
event: [release]
|
|
|
|
steps:
|
|
notify:
|
|
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5
|
|
environment:
|
|
WOODPECKER_NOTIFY_TOKEN:
|
|
from_secret: woodpecker_notify_token
|
|
commands:
|
|
- |
|
|
set -eu
|
|
test -n "${WOODPECKER_NOTIFY_TOKEN:?woodpecker_notify_token secret missing}"
|
|
python3 scripts/release/notify_root.py \
|
|
--hint-component "std-text" \
|
|
--hint-tag "${CI_COMMIT_TAG:-}"
|