bcmd 0.6.10__tar.gz → 0.6.12__tar.gz
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.
Potentially problematic release.
This version of bcmd might be problematic. Click here for more details.
- {bcmd-0.6.10 → bcmd-0.6.12}/PKG-INFO +1 -1
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/docs.py +4 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/lib.py +4 -2
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd.egg-info/PKG-INFO +1 -1
- {bcmd-0.6.10 → bcmd-0.6.12}/pyproject.toml +1 -1
- {bcmd-0.6.10 → bcmd-0.6.12}/MANIFEST.in +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/README.md +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/__init__.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/common/__init__.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/common/func.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/common/secret.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/resources/project/main.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/__init__.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/bin.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/code.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/crypto.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/debian.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/download.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/image.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/json.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/math.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/mirror.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/pdf.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/proxy.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/time.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/upgrade.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/tasks/wasabi.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/utils/__init__.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd/utils/utils.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd.egg-info/SOURCES.txt +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd.egg-info/dependency_links.txt +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd.egg-info/entry_points.txt +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd.egg-info/requires.txt +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/bcmd.egg-info/top_level.txt +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/setup.cfg +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/test/__init__.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/test/conftest.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/test/test_pdf.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/test/test_proxy.py +0 -0
- {bcmd-0.6.10 → bcmd-0.6.12}/test/test_wasabi.py +0 -0
|
@@ -142,6 +142,10 @@ async def makeDeploy(outputPath: Path):
|
|
|
142
142
|
# 替换文件内容
|
|
143
143
|
content = await bfile.readText(file)
|
|
144
144
|
oldContent = content
|
|
145
|
+
try:
|
|
146
|
+
content = bcrypto.decryptText(content, password)
|
|
147
|
+
except:
|
|
148
|
+
pass
|
|
145
149
|
for k, v in dataDict.items():
|
|
146
150
|
content = content.replace(f'{{{k}}}', str(v))
|
|
147
151
|
if oldContent != content:
|
|
@@ -86,6 +86,8 @@ async def build(
|
|
|
86
86
|
*list(path.glob('*.egg-info'))
|
|
87
87
|
)
|
|
88
88
|
with bpath.changePath(path):
|
|
89
|
-
await brun.run(f'uv build')
|
|
90
|
-
|
|
89
|
+
_, code = await brun.run(f'uv build')
|
|
90
|
+
btask.assertTrue(not code, '构建失败')
|
|
91
|
+
_, code = await brun.run(f'uv publish -u {data['username']} -p {data['password']}')
|
|
92
|
+
btask.assertTrue(not code, '发布失败')
|
|
91
93
|
bcolor.printGreen('OK')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|