From 48385fd7ea0cec8b67ecaf3d8fd7c6dae845493a Mon Sep 17 00:00:00 2001 From: MrGadget <9826063+MrGadget1024@users.noreply.github.com> Date: Wed, 12 Jun 2024 19:51:39 -0400 Subject: [PATCH] chore(CI) Updated Semantic and releaserc - changed node-version to '*' and removed commented lines - added comments about moving ScriptTemplate files --- .github/workflows/Semantic.yml | 4 +--- .releaserc.yml | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Semantic.yml b/.github/workflows/Semantic.yml index 84e025464..9c137822c 100644 --- a/.github/workflows/Semantic.yml +++ b/.github/workflows/Semantic.yml @@ -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 }} diff --git a/.releaserc.yml b/.releaserc.yml index b800ca842..194f3b269 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -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/"