Skip to content

Commit 420df0b

Browse files
committed
Updates workflow
changes process to produce .zip file
1 parent 3486acb commit 420df0b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/version-updates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
uses: softprops/action-gh-release@v2
2424
if: startsWith(github.ref, 'refs/tags/')
2525
with:
26-
files: ./release/latest/sudoMagicSave.tox
26+
files: ./release/package.zip

scripts/build_tox.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import subprocess
22
import os
3+
import shutil
34

45
import gitVersion
56
import build_settings
@@ -45,6 +46,10 @@ def main():
4546

4647
read_td_log.write_log_to_cloud(build_settings.log_file)
4748

49+
print("--> Zipping package")
50+
shutil.make_archive(
51+
f"{build_settings.dest_dir}/package", 'zip', build_settings.latest_dir)
52+
4853
# cleanup environment variable keys
4954
env_var_utils.clear_env_vars(build_settings=build_settings)
5055

0 commit comments

Comments
 (0)