chore(CI): removed debug options

This commit is contained in:
MrGadget 2024-06-12 16:28:43 -04:00
parent d14d32bb1b
commit 97e6f8084c

View File

@ -6,7 +6,6 @@ plugins:
# See https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#type
# More types can be added here and in release-notes-generator below.
- - '@semantic-release/commit-analyzer'
- debug: true
- preset: "angular"
releaseRules:
- type: "breaking"
@ -20,7 +19,6 @@ plugins:
# 'fix' and 'feat' are built in and don't need to be defined here.
# More types can be added to correspond with commit-analyzer above.
- - '@semantic-release/release-notes-generator'
- debug: true
- preset: "conventionalcommits"
presetConfig:
types:
@ -42,23 +40,19 @@ plugins:
# Write the new version in version.txt
- - '@semantic-release/exec'
- debug: true
- prepareCmd: "echo ${nextRelease.version} > Assets/Mirror/version.txt"
# Remove Test folder so it's excluded from Unity package
# -f: force, -r: recursive
- - '@semantic-release/exec'
- debug: true
- prepareCmd: "rm -f -r Assets/Mirror/Tests && rm -f Assets/Mirror/Tests.meta"
# Create Unity package with Mirror, ScriptTemplates, and LICENSE
- - '@semantic-release/exec'
- debug: true
- prepareCmd: "unity-packer pack Mirror.unitypackage Assets/Mirror Assets/Mirror Assets/ScriptTemplates Assets/ScriptTemplates LICENSE Assets/Mirror/LICENSE"
# Create a new release on GitHub
- - '@semantic-release/github'
- debug: true
- assets:
- path: "Mirror.unitypackage"
label: "Mirror Unity Package"