Skip to content

Commit

Permalink
release with prefix
Browse files Browse the repository at this point in the history
Signed-off-by: Xue, Chendi <chendi.xue@intel.com>
  • Loading branch information
xuechendi committed Dec 22, 2023
1 parent a64788a commit c473e6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2eaiok_recdp_release_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
release_version=$(cat e2eAIOK/version | head -1)
cd RecDP
echo $release_version > version
python3 setup.py sdist
python3 setup.py sdist --with_prefix
- name: Upload Package
uses: pypa/gh-action-pypi-publish@master
Expand Down
2 changes: 2 additions & 0 deletions RecDP/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ def get_packages(self):


if __name__ == '__main__':

if "--with_prefix" in sys.argv:
name = 'e2eAIOK-recdp'
sys.argv.remove("--with_prefix")
else:
name = 'pyrecdp'

Expand Down

0 comments on commit c473e6a

Please sign in to comment.