diff --git a/.github/workflows/release_maixcam.yml b/.github/workflows/release_maixcam.yml index afeb7aad..d9a3bd3f 100644 --- a/.github/workflows/release_maixcam.yml +++ b/.github/workflows/release_maixcam.yml @@ -49,9 +49,10 @@ jobs: echo "-- Test MaixPy basic for Linux now --" echo "--------------------------------" chmod +x ./run.sh && ./run.sh test/test_basic.py - release_path=`ls dist|awk '{print $1}'` + release_name=`ls dist|awk '{print $1}'` + release_path=dist/$release_name echo ::set-output name=release_linux_path::$release_path - echo ::set-output name=release_linux_name::$release_path + echo ::set-output name=release_linux_name::$release_name mkdir -p artifact cp dist/* artifact/ echo "----------------------------------" @@ -59,9 +60,10 @@ jobs: echo "----------------------------------" python setup.py bdist_wheel maixcam cp dist/* artifact/ - release_path=`ls dist|awk '{print $1}'` + release_name=`ls dist|awk '{print $1}'` + release_path=dist/$release_name echo ::set-output name=release_path::$release_path - echo ::set-output name=release_name::$release_path + echo ::set-output name=release_name::$release_name - name: Publish MaixPy to pypi.org run: | diff --git a/.github/workflows/release_other_linux.yml b/.github/workflows/release_other_linux.yml index e9df2c98..0f371b8f 100644 --- a/.github/workflows/release_other_linux.yml +++ b/.github/workflows/release_other_linux.yml @@ -23,9 +23,6 @@ jobs: - name: Build MaixPy id: build_maixpy run: | - echo "-- Check python version must python 3.11 --" - python3 -c 'import sys;print(sys.version);assert sys.version_info >= (3, 11);assert sys.version_info < (3, 12)' - python -c 'import sys;print(sys.version);assert sys.version_info >= (3, 11);assert sys.version_info < (3, 12)' whereis python whereis python3 # export PATH=~/.local/bin/:$PATH @@ -48,9 +45,10 @@ jobs: echo "--------------------------------" echo "-- Test MaixPy basic for Linux now --" echo "--------------------------------" - release_path=`ls dist|awk '{print $1}'` + release_name=`ls dist|awk '{print $1}'` + release_path=dist/$release_name echo ::set-output name=release_path::$release_path - echo ::set-output name=release_name::$release_path + echo ::set-output name=release_name::$release_name - name: Publish MaixPy to pypi.org run: | diff --git a/maix/version.py b/maix/version.py index 87883978..8c25b71b 100644 --- a/maix/version.py +++ b/maix/version.py @@ -3,6 +3,6 @@ version_major = 4 version_minor = 3 -version_patch = 3 +version_patch = 4 __version__ = "{}.{}.{}".format(version_major, version_minor, version_patch)