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