diff --git a/.github/workflows/Package.yaml b/.github/workflows/Package.yaml index 2f002d059..c384498f9 100644 --- a/.github/workflows/Package.yaml +++ b/.github/workflows/Package.yaml @@ -86,13 +86,37 @@ jobs: pwd ls -la echo "version variable" - sed -i -e "s/version = \"[^\"]*\"/version = \"${version}\"/" $(find . -name "*.py") + sed -i -e "s/version = \"[^\"]*\"/version = \"${version}\"/" "$(find . -name *.py)" echo "version comment" - sed -i -e "s/# Version .*/# Version ${version}/" $(find . -name "*.py") + sed -i -e "s/# Version .*/# Version ${version}/" "$(find . -name *.py)" echo "--------------- head rfswarm_agent.py ---------------" head -50 rfswarm_agent/rfswarm_agent.py echo "--------------- cat setup-manager.py ---------------" cat setup-manager.py + # - name: Clear Dist + # run: | + # rm -R dist/ + # - name: Clear Build for Manager + # run: | + # rm -R build/ + # - name: Build Manager + # run: | + # python3 setup-manager.py sdist bdist_wheel + # - name: Clear Build for Agent + # run: | + # rm -R build/ + # - name: Build Agent + # run: | + # python3 setup-agent.py sdist bdist_wheel + # - name: Clear Build for Reporter + # run: | + # rm -R build/ + # - name: Build Reporter + # run: | + # python3 setup-reporter.py sdist bdist_wheel + # - name: Show Dist + # run: | + # ls -la dist #