chore(CI) Updated Semantic and releaserc

- changed node-version to '*' and removed commented lines
- added comments about moving ScriptTemplate files
This commit is contained in:
MrGadget 2024-06-12 19:51:39 -04:00
parent e588e33f66
commit 15f1b6bba8
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '*'
- name: Install conventional-changelog-conventionalcommits
run: npm i -D conventional-changelog-conventionalcommits
@ -38,7 +38,5 @@ jobs:
- name: Release
run: npx semantic-release
# --plugins "@semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/exec,@semantic-release/github"
# --debug true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -47,6 +47,8 @@ plugins:
- - '@semantic-release/exec'
- prepareCmd: "rm -f -r Assets/Mirror/Tests && rm -f Assets/Mirror/Tests.meta"
# Move ScriptTemplates to Mirror folder so they're included in Unity package
# There's an editor script that moves them back to Assets when imported to Unity
- - '@semantic-release/exec'
- prepareCmd: "mv Assets/ScriptTemplates Assets/Mirror/ && mv Assets/ScriptTemplates.meta Assets/Mirror/"