File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1- name : " Release UI (GitHub Packages) "
1+ name : " Release UI"
22
33on :
44 workflow_dispatch :
77 description : " UI tag to release (e.g., ui-v1.0.0)"
88 required : true
99 type : string
10+ push :
11+ tags :
12+ - " ui-v*"
1013
1114permissions :
1215 contents : write
@@ -68,12 +71,12 @@ jobs:
6871 cache : " npm"
6972 cache-dependency-path : client/webui/frontend/package-lock.json
7073 registry-url : https://npm.pkg.github.com/
71- scope : " @SolaceDev "
74+ scope : " @SolaceLabs "
7275
7376 - name : Configure npm for install and publish
7477 run : |
7578 echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc
76- echo "@SolaceDev :registry=https://npm.pkg.github.com/" >> .npmrc
79+ echo "@SolaceLabs :registry=https://npm.pkg.github.com/" >> .npmrc
7780 echo "legacy-peer-deps=true" >> .npmrc
7881
7982 - name : Install dependencies
@@ -98,12 +101,11 @@ jobs:
98101
99102 - name : Update package.json for publishing
100103 run : |
101- # Update the package name to include the SolaceDev scope for publishing
102104 node -e "
103105 const pkg = require('./package.json');
104- pkg.name = '@SolaceDev /solace-agent-mesh-ui';
106+ pkg.name = '@SolaceLabs /solace-agent-mesh-ui';
105107 pkg.publishConfig = {
106- registry: 'https://npm.pkg.github.com/SolaceDev '
108+ registry: 'https://npm.pkg.github.com/SolaceLabs '
107109 };
108110 require('fs').writeFileSync('./package.json', JSON.stringify(pkg, null, 2));
109111 "
You can’t perform that action at this time.
0 commit comments