Vendor the root component-release helpers, add source packaging plus release-evidence, and split publish (tag/manual) from notify (release event).
17 lines
450 B
YAML
17 lines
450 B
YAML
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 "knowledge" \
|
|
--hint-tag "${CI_COMMIT_TAG:-}"
|