Skip to content

Commit e569410

Browse files
committed
[ci] Include UI package on release
Builds and attachs the UI package to the release. Signed-off-by: Eva Millán <[email protected]>
1 parent 4a6ef16 commit e569410

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,17 @@ jobs:
7777
uses: chaoss/grimoirelab-github-actions/release@main
7878
with:
7979
github-token: ${{ secrets.GITHUB_TOKEN }}
80+
- name: Build UI package
81+
working-directory: ./ui/package
82+
run: |
83+
yarn install
84+
yarn build
85+
yarn pack --filename sortinghat-ui.tgz
86+
- name: Add UI package to the release assets
87+
run: |
88+
gh release upload ${GITHUB_REF#refs/tags/} ui/package/sortinghat-ui.tgz
89+
env:
90+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8091

8192
publish:
8293
needs: [tests]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: SortingHat UI as a Vue plugin
3+
category: added
4+
author: Eva Millán <[email protected]>
5+
issue: null
6+
notes: >
7+
The user interface for the dashboard, individual and organization
8+
views is now packed into a plugin that can be installed in other Vue
9+
projects.

0 commit comments

Comments
 (0)