mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
[CI] Add link to release notes in binary releases
This commit is contained in:
parent
6a506e6240
commit
8526fc5712
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,8 @@ pipeline:
|
||||||
- echo "$${CI_COMMIT_TAG##v}" | grep -qi '\-rc' && export RELEASETYPE="--prerelease" && echo "Uploading as Pre-Release"
|
- echo "$${CI_COMMIT_TAG##v}" | grep -qi '\-rc' && export RELEASETYPE="--prerelease" && echo "Uploading as Pre-Release"
|
||||||
- echo "$${CI_COMMIT_TAG##v}" | grep -qi '\-test' && export RELEASETYPE="--draft" && echo "Uploading as Draft"
|
- echo "$${CI_COMMIT_TAG##v}" | grep -qi '\-test' && export RELEASETYPE="--draft" && echo "Uploading as Draft"
|
||||||
- test $${RELEASETYPE+false} || echo "Uploading as Stable"
|
- test $${RELEASETYPE+false} || echo "Uploading as Stable"
|
||||||
- tea release create $ASSETS --tag $CI_COMMIT_TAG --title $CI_COMMIT_TAG $${RELEASETYPE}
|
- anchor=$(echo $CI_COMMIT_TAG | sed -e 's/^v//' -e 's/[^a-zA-Z0-9]/-/g')
|
||||||
|
- tea release create $ASSETS --note "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#$${anchor}" --tag $CI_COMMIT_TAG --title $CI_COMMIT_TAG $${RELEASETYPE}
|
||||||
secrets:
|
secrets:
|
||||||
- releaseteamtoken
|
- releaseteamtoken
|
||||||
- releaseteamuser
|
- releaseteamuser
|
||||||
|
|
Loading…
Reference in a new issue