ci: Publish releases on extensions website
Use the new `gnome-extensions upload` command to publish the generated bundles to the extension website when run in a tag pipeline. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/422>
This commit is contained in:
@@ -126,6 +126,15 @@ build-bundles:
|
||||
paths:
|
||||
- zip-files/
|
||||
|
||||
dist-bundles:
|
||||
stage: deploy
|
||||
needs:
|
||||
- build-bundles
|
||||
script:
|
||||
- gnome-extensions upload --accept-tos --user "$EGO_USER" --password "$EGO_PASSWORD" zip-files/*.zip
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
|
||||
fedora-build:
|
||||
stage: build
|
||||
<<: *prereview_req
|
||||
|
||||
Reference in New Issue
Block a user