add gitlab link to codeberg release

This commit is contained in:
Malte Jürgens 2023-03-05 13:00:21 +01:00
parent 22acc65b52
commit 004feab548
Signed by: maltejur
GPG key ID: D29FBD5F93C0CFC3

View file

@ -3,7 +3,6 @@ stages:
- build - build
- release - release
# Notes; we want short labes so we can see what is what, and # Notes; we want short labes so we can see what is what, and
# allow image builds on all branches because don't wan to # allow image builds on all branches because don't wan to
# deal with them on the master branch # deal with them on the master branch
@ -122,6 +121,7 @@ Release:
upload_package librewolf-$FILEVER.en-US.mac.aarch64.dmg.sha256sum upload_package librewolf-$FILEVER.en-US.mac.aarch64.dmg.sha256sum
echo "Creating Codeberg release" echo "Creating Codeberg release"
codeberg_release_body="${codeberg_release_body}\n[View on GitLab](https://gitlab.com/librewolf-community/browser/bsys5/-/releases/$FILEVER)"
curl -X 'POST' \ curl -X 'POST' \
"https://codeberg.org/api/v1/repos/librewolf/bsys5/releases?token=$CODEBERG_TOKEN" \ "https://codeberg.org/api/v1/repos/librewolf/bsys5/releases?token=$CODEBERG_TOKEN" \
-H 'accept: application/json' \ -H 'accept: application/json' \