Skip to content

Commit

Permalink
ci release test
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Jun 20, 2024
1 parent 28851d8 commit 7d70bc4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release_maixcam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ jobs:
cp dist/* artifact/
release_name=`ls artifact|awk '{print $1}'`
release_path=artifact/$release_name
echo ::set-output name=release_linux_path::$release_path
echo ::set-output name=release_linux_name::$release_name
echo "release_linux_path=$release_path" >> $GITHUB_OUTPUT
echo "release_linux_name=$release_name" >> $GITHUB_OUTPUT
echo "----------------------------------"
echo "-- Build MaixPy for MaixCAM now --"
echo "----------------------------------"
python setup.py bdist_wheel maixcam
cp dist/* artifact/
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_name
echo "release_path=$release_path" >> $GITHUB_OUTPUT
echo "release_name=$release_name" >> $GITHUB_OUTPUT
- name: Build doc
id: build_doc
Expand All @@ -83,10 +83,11 @@ jobs:
doc_dir=maixpy_${{ github.ref_name }}_doc
mv out $doc_dir
zip ${doc_dir}.zip -r $doc_dir
cd ..
release_name=${doc_dir}.zip
release_path=$release_name
echo ::set-output name=release_path::$release_path
echo ::set-output name=release_name::$release_name
release_path=docs/$release_name
echo "release_doc_path=$release_path" >> $GITHUB_OUTPUT
echo "release_doc_name=$release_name" >> $GITHUB_OUTPUT
- name: Upload MaixPy Doc to release assets
uses: svenstaro/upload-release-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_other_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
echo "--------------------------------"
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_name
echo "release_path=$release_path" >> $GITHUB_OUTPUT
echo "release_name=$release_name" >> $GITHUB_OUTPUT
- name: Publish MaixPy to pypi.org
run: |
Expand Down
2 changes: 1 addition & 1 deletion maix/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

version_major = 4
version_minor = 3
version_patch = 5
version_patch = 6

__version__ = "{}.{}.{}".format(version_major, version_minor, version_patch)

0 comments on commit 7d70bc4

Please sign in to comment.