We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8d573e commit 8d02640Copy full SHA for 8d02640
2 files changed
Tools/regenerate-ci.sh
@@ -1 +1,6 @@
1
-#!/bin/shset -e # fail on first errorSCRIPT_DIR=$(dirname "$0")dotnet run -c Release --project $SCRIPT_DIR/CI/NGO.Cookbook.csproj "$@"
+#!/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 "$@"
Tools/scripts/release.py
@@ -40,7 +40,7 @@ def regenerate_wrench():
40
if platform.system() != "Windows":
41
os.chmod(script_path, 0o755)
42
43
- subprocess.run(script_path, check=True, shell=True)
+ subprocess.run([script_path], check=True, shell=True)
44
45
except subprocess.CalledProcessError as e:
46
raise Exception(f"Error: The CI regeneration script failed with exit code {e.returncode}.")
0 commit comments