Skip to content

Commit b8d573e

Browse files
committed
Updated meta
1 parent 665879b commit b8d573e

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

Tools/regenerate-ci.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
#!/bin/sh
2-
3-
set -e # fail on first error
4-
5-
SCRIPT_DIR=$(dirname "$0")
6-
dotnet run -c Release --project $SCRIPT_DIR/CI/NGO.Cookbook.csproj "$@"
1+
#!/bin/shset -e # fail on first errorSCRIPT_DIR=$(dirname "$0")dotnet run -c Release --project $SCRIPT_DIR/CI/NGO.Cookbook.csproj "$@"

Tools/scripts/Utils/createPrAfterRelease.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ def createPrAfterRelease(config: ReleaseConfig):
3333

3434
try:
3535
if not config.github_manager.is_branch_present(config.default_repo_branch):
36-
print(f"Branch '{config.default_repo_branch}' does not exist. Exiting.")
37-
sys.exit(1)
36+
raise Exception(f"Branch '{config.default_repo_branch}' does not exist. Exiting.")
3837

3938
repo = get_local_repo()
4039
repo.git.fetch('--prune', '--prune-tags')
@@ -53,7 +52,6 @@ def createPrAfterRelease(config: ReleaseConfig):
5352
repo.git.add(config.changelog_path)
5453
repo.git.add(config.manifest_path)
5554
repo.git.add(config.validation_exceptions_path)
56-
repo.git.add("Tools/regenerate-ci.sh")
5755

5856
author = Actor(config.commiter_name, config.commiter_email)
5957
committer = Actor(config.commiter_name, config.commiter_email)

0 commit comments

Comments
 (0)