Skip to content

Commit

Permalink
ci: Fixing generator release
Browse files Browse the repository at this point in the history
  • Loading branch information
svrooij committed Nov 3, 2022
1 parent 76ce919 commit 268d0ea
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
id: semantic
with:
working_directory: generator/sonos-docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
3 changes: 0 additions & 3 deletions generator/sonos-docs/.releaserc

This file was deleted.

17 changes: 16 additions & 1 deletion generator/sonos-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,20 @@
"docs": "./bin/run generate docs ../../docs",
"docs-win": ".\\bin\\run generate docs ../../docs"
},
"types": "lib/index.d.ts"
"types": "lib/index.d.ts",
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
{
"name": "beta",
"prerelease": true
},
{
"name": "ci-build",
"prerelease": true
}
]
}
}

0 comments on commit 268d0ea

Please sign in to comment.