Skip to content

Commit 4ed4b86

Browse files
committed
typo corrections
1 parent 962d2f6 commit 4ed4b86

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Tools/scripts/ReleaseAutomation/release_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ReleaseConfig:
3333
def __init__(self):
3434
self.manifest_path = 'com.unity.netcode.gameobjects/package.json'
3535
self.changelog_path = 'com.unity.netcode.gameobjects/CHANGELOG.md'
36-
self.validation_exceptions_path = 'com.unity.netcode.gameobjects/ValidationExceptions.json'
36+
self.validation_exceptions_path = './ValidationExceptions.json'
3737
self.github_repo = 'Unity-Technologies/com.unity.netcode.gameobjects'
3838
self.default_repo_branch = 'develop' # Changelog and package version change will be pushed to this branch
3939
self.yamato_project_id = '1201'

Tools/scripts/Utils/git_utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ def create_branch_execute_commands_and_push(config: ReleaseConfig):
5858

5959
if config.command_to_run_on_release_branch:
6060
print(f"\nExecuting command on branch '{config.release_branch_name}': {' '.join(config.command_to_run_on_release_branch.__name__)}")
61-
config.command_to_run_on_release_branch(config.manifest_path, config.changelog_path, config.validation_exceptions_path, config.package_version, config.package_name_regex)
61+
config.command_to_run_on_release_branch(config.manifest_path, config.changelog_path, config.validation_exceptions_path, config.package_version)
6262

63-
repo.git.add('.yamato/') # regenerated jobs
64-
repo.git.add('Packages/') # for example changelog and package.json updates
65-
repo.git.add('Tools/CI/Monorepo.Cookbook/Settings') # Modified WrenchSettings
63+
repo.git.add(config.changelog_path)
64+
repo.git.add(config.manifest_path)
65+
repo.git.add(config.validation_exceptions_path)
6666

6767
author = Actor(config.commiter_name, config.commiter_email)
6868
committer = Actor(config.commiter_name, config.commiter_email)

Tools/scripts/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def make_package_release_ready(manifest_path, changelog_path, validation_excepti
4141
if __name__ == '__main__':
4242
manifest_path = 'com.unity.netcode.gameobjects/package.json'
4343
changelog_path = 'com.unity.netcode.gameobjects/CHANGELOG.md'
44-
validation_exceptions_path = 'com.unity.netcode.gameobjects/ValidationExceptions.json'
44+
validation_exceptions_path = './ValidationExceptions.json'
4545
package_version = get_package_version_from_manifest(manifest_path)
4646

4747
make_package_release_ready(manifest_path, changelog_path, validation_exceptions_path, package_version)

0 commit comments

Comments
 (0)