ScriptCollection 3.5.90__py3-none-any.whl → 3.5.91__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/ScriptCollectionCore.py +6 -3
- ScriptCollection/TasksForCommonProjectStructure.py +1 -1
- {scriptcollection-3.5.90.dist-info → scriptcollection-3.5.91.dist-info}/METADATA +1 -1
- {scriptcollection-3.5.90.dist-info → scriptcollection-3.5.91.dist-info}/RECORD +7 -7
- {scriptcollection-3.5.90.dist-info → scriptcollection-3.5.91.dist-info}/WHEEL +0 -0
- {scriptcollection-3.5.90.dist-info → scriptcollection-3.5.91.dist-info}/entry_points.txt +0 -0
- {scriptcollection-3.5.90.dist-info → scriptcollection-3.5.91.dist-info}/top_level.txt +0 -0
@@ -32,7 +32,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
|
|
32
32
|
from .ProgramRunnerPopen import ProgramRunnerPopen
|
33
33
|
from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
|
34
34
|
|
35
|
-
version = "3.5.
|
35
|
+
version = "3.5.91"
|
36
36
|
__version__ = version
|
37
37
|
|
38
38
|
|
@@ -112,10 +112,13 @@ class ScriptCollectionCore:
|
|
112
112
|
raise ValueError(f"Version '{current_version}' does not match version-regex '{versiononlyregex}'")
|
113
113
|
|
114
114
|
@GeneralUtilities.check_arguments
|
115
|
-
def push_nuget_build_artifact(self, nupkg_file: str, registry_address: str, api_key: str, verbosity: int = 1):
|
115
|
+
def push_nuget_build_artifact(self, nupkg_file: str, registry_address: str, api_key: str = None, verbosity: int = 1):
|
116
116
|
nupkg_file_name = os.path.basename(nupkg_file)
|
117
117
|
nupkg_file_folder = os.path.dirname(nupkg_file)
|
118
|
-
|
118
|
+
argument = f"nuget push {nupkg_file_name} --force-english-output --source {registry_address}"
|
119
|
+
if api_key is not None:
|
120
|
+
argument = f"{argument} --api-key {api_key}"
|
121
|
+
self.run_program("dotnet", argument, nupkg_file_folder, verbosity)
|
119
122
|
|
120
123
|
@GeneralUtilities.check_arguments
|
121
124
|
def dotnet_build(self, folder: str, projectname: str, configuration: str):
|
@@ -1121,7 +1121,7 @@ class TasksForCommonProjectStructure:
|
|
1121
1121
|
GeneralUtilities.write_text_to_file(reference_index_file, reference_index_file_content)
|
1122
1122
|
|
1123
1123
|
@GeneralUtilities.check_arguments
|
1124
|
-
def push_nuget_build_artifact(self, push_script_file: str, codeunitname: str, registry_address: str,
|
1124
|
+
def push_nuget_build_artifact(self, push_script_file: str, codeunitname: str, registry_address: str, repository_folder_name: str, api_key: str):
|
1125
1125
|
# when pusing to "default public" nuget-server then use registry_address: "nuget.org"
|
1126
1126
|
build_artifact_folder = GeneralUtilities.resolve_relative_path(f"../../Submodules/{repository_folder_name}/{codeunitname}/Other/Artifacts/BuildResult_NuGet", os.path.dirname(push_script_file))
|
1127
1127
|
self.__sc.push_nuget_build_artifact(self.__sc.find_file_by_extension(build_artifact_folder, "nupkg"), registry_address, api_key)
|
@@ -5,12 +5,12 @@ ScriptCollection/ProgramRunnerBase.py,sha256=2kMIAqdc65UjBAddOZkzy_aFx9h5roZ5a4b
|
|
5
5
|
ScriptCollection/ProgramRunnerEpew.py,sha256=4pjEd0r9Fcz3TTDv0MdTSd5KkigYXcWUVI1X43regfU,6477
|
6
6
|
ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
|
7
7
|
ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
|
8
|
-
ScriptCollection/ScriptCollectionCore.py,sha256=
|
9
|
-
ScriptCollection/TasksForCommonProjectStructure.py,sha256=
|
8
|
+
ScriptCollection/ScriptCollectionCore.py,sha256=ZromJ3Kjpq62EXEi-MGWpjohnv9De9F9oEd9Ixw8OXc,123626
|
9
|
+
ScriptCollection/TasksForCommonProjectStructure.py,sha256=gHVWuGglt25jqq6xR7cf0mKWM3OX2sNHijue2RoYuGw,217056
|
10
10
|
ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
|
11
11
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
|
-
scriptcollection-3.5.
|
13
|
-
scriptcollection-3.5.
|
14
|
-
scriptcollection-3.5.
|
15
|
-
scriptcollection-3.5.
|
16
|
-
scriptcollection-3.5.
|
12
|
+
scriptcollection-3.5.91.dist-info/METADATA,sha256=EfZfpHkS52wiNF0wb0ro-Z-pMXNdSb-h5YE8IaFDxRY,7664
|
13
|
+
scriptcollection-3.5.91.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
14
|
+
scriptcollection-3.5.91.dist-info/entry_points.txt,sha256=1jAL5AuB8mvdw2v-6E7wCZFThurQxchiQynL8DCi-Yg,3545
|
15
|
+
scriptcollection-3.5.91.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
16
|
+
scriptcollection-3.5.91.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|