ScriptCollection 4.0.22__py3-none-any.whl → 4.0.24__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ScriptCollection/AnionBuildPlatform.py +3 -0
- ScriptCollection/Executables.py +11 -10
- ScriptCollection/ScriptCollectionCore.py +2 -2
- {scriptcollection-4.0.22.dist-info → scriptcollection-4.0.24.dist-info}/METADATA +1 -1
- {scriptcollection-4.0.22.dist-info → scriptcollection-4.0.24.dist-info}/RECORD +8 -8
- {scriptcollection-4.0.22.dist-info → scriptcollection-4.0.24.dist-info}/WHEEL +0 -0
- {scriptcollection-4.0.22.dist-info → scriptcollection-4.0.24.dist-info}/entry_points.txt +0 -0
- {scriptcollection-4.0.22.dist-info → scriptcollection-4.0.24.dist-info}/top_level.txt +0 -0
@@ -54,6 +54,9 @@ class AnionBuildPlatform:
|
|
54
54
|
self.__sc.run_program("python","MergeToMain.py",scripts_folder)
|
55
55
|
self.__sc.run_program("python","MergeToStable.py",scripts_folder)
|
56
56
|
|
57
|
+
#prepare for next-release
|
58
|
+
self.__sc.git_checkout(repository,self.__configuration.source_branch)
|
59
|
+
|
57
60
|
class TFCPS_AnionBuildPlatform_CLI:
|
58
61
|
|
59
62
|
@staticmethod
|
ScriptCollection/Executables.py
CHANGED
@@ -839,21 +839,22 @@ def LOC() -> int:
|
|
839
839
|
def CreateRelease()->int:
|
840
840
|
sc = ScriptCollectionCore()
|
841
841
|
parser = argparse.ArgumentParser(description="Creates a release in a git-repository which uses the anion-build-platform.")
|
842
|
-
parser.add_argument('-b', '--buildrepository', required=
|
843
|
-
|
842
|
+
parser.add_argument('-b', '--buildrepository', required=False, default=".")
|
843
|
+
verbosity_values = ", ".join(f"{lvl.value}={lvl.name}" for lvl in LogLevel)
|
844
|
+
parser.add_argument('-v', '--verbosity', required=False, default=3, help=f"Sets the loglevel. Possible values: {verbosity_values}")
|
845
|
+
parser.add_argument('-s', '--sourcebranch', required=False, default="other/next-release")
|
844
846
|
args = parser.parse_args()
|
845
847
|
|
846
|
-
|
848
|
+
build_repo_folder: str = None
|
847
849
|
if os.path.isabs(args.buildrepository):
|
848
|
-
|
850
|
+
build_repo_folder = args.buildrepository
|
849
851
|
else:
|
850
|
-
|
852
|
+
build_repo_folder = GeneralUtilities.resolve_relative_path(args.buildrepository, os.getcwd())
|
851
853
|
|
852
|
-
|
853
|
-
|
854
|
-
else:
|
855
|
-
sc.log.loglevel=LogLevel.Information
|
854
|
+
verbosity=int(args.verbosity)
|
855
|
+
sc.log.loglevel=LogLevel(verbosity)
|
856
856
|
|
857
|
-
|
857
|
+
scripts_folder:str=os.path.join(build_repo_folder,"Scripts","CreateRelease")
|
858
|
+
sc.run_program("python",f"CreateRelease.py --buildrepositoriesfolder {build_repo_folder} --verbosity {verbosity} --sourcebranch {args.sourcebranch}",os.path.join(build_repo_folder,"Scripts","CreateRelease"),scripts_folder)
|
858
859
|
|
859
860
|
return 0
|
@@ -36,7 +36,7 @@ from .ProgramRunnerPopen import ProgramRunnerPopen
|
|
36
36
|
from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
|
37
37
|
from .SCLog import SCLog, LogLevel
|
38
38
|
|
39
|
-
version = "4.0.
|
39
|
+
version = "4.0.24"
|
40
40
|
__version__ = version
|
41
41
|
|
42
42
|
|
@@ -124,7 +124,7 @@ class ScriptCollectionCore:
|
|
124
124
|
argument = f"nuget push {nupkg_file_name} --force-english-output --source {registry_address}"
|
125
125
|
if api_key is not None:
|
126
126
|
argument = f"{argument} --api-key {api_key}"
|
127
|
-
self.run_program("dotnet", argument, nupkg_file_folder
|
127
|
+
self.run_program("dotnet", argument, nupkg_file_folder)
|
128
128
|
|
129
129
|
@GeneralUtilities.check_arguments
|
130
130
|
def dotnet_build(self, folder: str, projectname: str, configuration: str):
|
@@ -1,6 +1,6 @@
|
|
1
|
-
ScriptCollection/AnionBuildPlatform.py,sha256=
|
1
|
+
ScriptCollection/AnionBuildPlatform.py,sha256=Hi2Gg-zEw3FKb417CtyANcC_vGvFNUBy68qE3NIxkvU,5488
|
2
2
|
ScriptCollection/CertificateUpdater.py,sha256=GXPxmYaW-ufOqsiP9kUYdtI6eNg1-GzrrCqsZdwW_HY,9199
|
3
|
-
ScriptCollection/Executables.py,sha256=
|
3
|
+
ScriptCollection/Executables.py,sha256=UUww7lgOAeEsrAhrAVp2zlnbdv3mMbS4eiN6xDp-o5Y,41710
|
4
4
|
ScriptCollection/GeneralUtilities.py,sha256=9Xd9aKPj3TkpVtdHXzFMILrRoXAfJCph69XRTstdsBo,49280
|
5
5
|
ScriptCollection/ImageUpdater.py,sha256=qTe3yoqzQJY7LZdXBbjbWvrsSQaeHy1VwmOxaRzU2ig,29305
|
6
6
|
ScriptCollection/ProcessesRunner.py,sha256=3mu4ZxzZleQo0Op6o9EYTCFiJfb6kx5ov2YfZfT89mU,1395
|
@@ -9,7 +9,7 @@ ScriptCollection/ProgramRunnerEpew.py,sha256=TJdDx9zIMSiCaXh8X-ekrMlbXfGtmd0Mmyx
|
|
9
9
|
ScriptCollection/ProgramRunnerMock.py,sha256=uTu-aFle1W_oKjeQEmuPsFPQpvo0kRf2FrRjAPIwT5Y,37
|
10
10
|
ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
|
11
11
|
ScriptCollection/SCLog.py,sha256=dxGOI4E9lG5v9jk_LajXCkM5nghliCDV8YB8Ihn160s,4541
|
12
|
-
ScriptCollection/ScriptCollectionCore.py,sha256=
|
12
|
+
ScriptCollection/ScriptCollectionCore.py,sha256=VltwKkLX85TWwsR5AMfko3vIQ9ywh1HH7XmwsMc0PWc,140598
|
13
13
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
14
|
ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=Cj89Xhzf5CRSDVH_-0JachQMsPHfjkz8jtRi_BpiGvY,25979
|
15
15
|
ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=4rYKgTAga11NiDx8YUqz3K_Q4eX_n3kC6lvNdXEa24s,7389
|
@@ -35,8 +35,8 @@ ScriptCollection/TFCPS/NodeJS/TFCPS_CodeUnitSpecific_NodeJS.py,sha256=dnuDlQXThF
|
|
35
35
|
ScriptCollection/TFCPS/NodeJS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
36
36
|
ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=q7msAxCb5VIZ-xhFg1MfzUvWomQRKYldqmW42KFhyMU,6868
|
37
37
|
ScriptCollection/TFCPS/Python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
|
-
scriptcollection-4.0.
|
39
|
-
scriptcollection-4.0.
|
40
|
-
scriptcollection-4.0.
|
41
|
-
scriptcollection-4.0.
|
42
|
-
scriptcollection-4.0.
|
38
|
+
scriptcollection-4.0.24.dist-info/METADATA,sha256=QatyoBqdvyFPbjA6tSY5jy8MTP8veu8i2tmAqTcNfqY,7688
|
39
|
+
scriptcollection-4.0.24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
40
|
+
scriptcollection-4.0.24.dist-info/entry_points.txt,sha256=NeU26D6q7d8n2cmKQiOvHK21w1C7D2kxoNRJaKiyZ5w,4295
|
41
|
+
scriptcollection-4.0.24.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
42
|
+
scriptcollection-4.0.24.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|