Skip to content

Commit 268d0ea

Browse files
committed
ci: Fixing generator release
1 parent 76ce919 commit 268d0ea

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

.github/workflows/generator.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
- name: Semantic Release
5555
uses: cycjimmy/semantic-release-action@v2
5656
id: semantic
57+
with:
58+
working_directory: generator/sonos-docs
5759
env:
5860
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5961
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

generator/sonos-docs/.releaserc

Lines changed: 0 additions & 3 deletions
This file was deleted.

generator/sonos-docs/package.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,20 @@
6868
"docs": "./bin/run generate docs ../../docs",
6969
"docs-win": ".\\bin\\run generate docs ../../docs"
7070
},
71-
"types": "lib/index.d.ts"
71+
"types": "lib/index.d.ts",
72+
"release": {
73+
"branches": [
74+
"+([0-9])?(.{+([0-9]),x}).x",
75+
"main",
76+
"next",
77+
{
78+
"name": "beta",
79+
"prerelease": true
80+
},
81+
{
82+
"name": "ci-build",
83+
"prerelease": true
84+
}
85+
]
86+
}
7287
}

0 commit comments

Comments
 (0)