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/"