This repository was archived by the owner on Jul 29, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 - uses : actions/upload-artifact@v2
2929 with :
3030 name : ${{ github.sha }}
31- path : dist/*
31+ path : |
32+ dist/*
33+ dist-serverless/*
3234
3335 docs :
3436 timeout-minutes : 10
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ pip-log.txt
1111* .egg-info
1212/build
1313/dist
14+ /dist-serverless
1415.cache
1516.idea
1617.eggs
Original file line number Diff line number Diff line change 66
77
88DIST_DIRNAME = "dist"
9- DIST_DIR = os .path .abspath (os .path .join (os .path .dirname (__file__ ), ".." , DIST_DIRNAME ))
9+ DEST_REL_PATH = "dist-serverless"
10+ DEST_ABS_PATH = os .path .abspath (
11+ os .path .join (os .path .dirname (__file__ ), ".." , DEST_REL_PATH )
12+ )
1013DEST_ZIP_FILENAME = f"sentry-python-serverless-{ SDK_VERSION } .zip"
1114WHEELS_FILEPATH = os .path .join (
1215 DIST_DIRNAME , f"sentry_sdk-{ SDK_VERSION } -py2.py3-none-any.whl"
@@ -65,7 +68,9 @@ def build_packaged_zip():
6568 package_builder .make_directories ()
6669 package_builder .install_python_binaries ()
6770 package_builder .zip (DEST_ZIP_FILENAME )
68- shutil .copy (package_builder .get_relative_path_of (DEST_ZIP_FILENAME ), DIST_DIR )
71+ shutil .copy (
72+ package_builder .get_relative_path_of (DEST_ZIP_FILENAME ), DEST_ABS_PATH
73+ )
6974
7075
7176build_packaged_zip ()
You can’t perform that action at this time.
0 commit comments