Skip to content

Commit

Permalink
update version to 4.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Sep 26, 2024
1 parent dedf550 commit a51f8ae
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/release_maixcam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,22 @@ jobs:
./gen_os.sh $base_os_path $release_path $builtin_files_dir $os_version_name
os_filename=${os_version_name}.img.xz
os_filepath=`pwd`/tmp/$os_filename
sha256sum $os_filepath > ${maixpy_path}/sha256sum_files.txt
sha256sum $release_path >> ${maixpy_path}/sha256sum_files.txt
sha256sum $os_filepath > ${maixpy_path}/sha256sum_files.txt
echo "os_path=$os_filepath" >> $GITHUB_OUTPUT
echo "os_name=$os_filename" >> $GITHUB_OUTPUT
echo "-------------------------------------"
echo "-- Generate system for MaixCAM-Pro --"
echo "-------------------------------------"
os_version_name_pro="maixcam-pro-${date_now}-maixpy-${maixpy_version}"
cp -f "${builtin_files_dir}/boot/maixcam_pro_logo.jpeg" "${builtin_files_dir}/boot/logo.jpeg"
sed -i 's/^panel=.*/panel=st7701_lct024bsi20/' "${builtin_files_dir}/boot/uEnv.txt"
./gen_os.sh $base_os_path $release_path $builtin_files_dir $os_version_name_pro 1
os_filename=${os_version_name_pro}.img.xz
os_filepath=`pwd`/tmp/$os_filename
sha256sum $os_filepath >> ${maixpy_path}/sha256sum_files.txt
echo "os_pro_path=$os_filepath" >> $GITHUB_OUTPUT
echo "os_pro_name=$os_filename" >> $GITHUB_OUTPUT
- name: Build doc
id: build_doc
Expand Down Expand Up @@ -170,14 +182,22 @@ jobs:
tag: ${{ github.ref }}
repo_token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload OS to release assets
- name: Upload MaixCAM OS to release assets
uses: svenstaro/upload-release-action@v2
with:
file: ${{ steps.build_maixpy.outputs.os_path }}
asset_name: ${{ steps.build_maixpy.outputs.os_name }}
tag: ${{ github.ref }}
repo_token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload MaixCAM-Pro OS to release assets
uses: svenstaro/upload-release-action@v2
with:
file: ${{ steps.build_maixpy.outputs.os_pro_path }}
asset_name: ${{ steps.build_maixpy.outputs.os_pro_name }}
tag: ${{ github.ref }}
repo_token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish MaixPy to pypi.org
run: |
echo "[pypi]" > ~/.pypirc
Expand Down
4 changes: 2 additions & 2 deletions maix/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Versions should comply with PEP440: https://peps.python.org/pep-0440/

version_major = 4
version_minor = 5
version_patch = 1
version_minor = 6
version_patch = 0

__version__ = "{}.{}.{}".format(version_major, version_minor, version_patch)
2 changes: 1 addition & 1 deletion tools/os/base_system_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240905
20240926

0 comments on commit a51f8ae

Please sign in to comment.