CI: try to add release notes to Gitea release
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Benjamin Renard 2022-08-02 00:04:10 +02:00
parent 9bd773669a
commit 8a6599aaf2
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ pipeline:
- dpkg-buildpackage - dpkg-buildpackage
- cd ../../ - cd ../../
- rm -fr dist/python3-cx-oracle_*_amd64 - rm -fr dist/python3-cx-oracle_*_amd64
- curl --silent https://api.github.com/repos/oracle/python-cx_Oracle/releases |jq --raw-output ".[] | select(.tag_name == \"$CI_COMMIT_TAG\") | .body" > dist/release_notes.md
secrets: [ gpg_key, gpg_name, gpg_email, deb_dist ] secrets: [ gpg_key, gpg_name, gpg_email, deb_dist ]
publish-dryrun: publish-dryrun:
@ -33,6 +34,7 @@ pipeline:
api_key: api_key:
from_secret: gitea_token from_secret: gitea_token
base_url: https://gitea.zionetrix.net base_url: https://gitea.zionetrix.net
note: dist/release_notes.md
files: files:
- dist/*.deb - dist/*.deb
- dist/*.whl - dist/*.whl