From 47332ca1937403225948c5c85b6057eff72b952a Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Wed, 12 Jun 2024 21:33:58 +0800 Subject: [PATCH] =?utf8?q?release=E8=B7=AF=E5=BE=84=E6=B7=BB=E5=8A=A0?= =?utf8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=EF=BC=8C=E6=96=B9=E4=BE=BF=E8=B7=9F?= =?utf8?q?=E8=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- autobuild.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/autobuild.sh b/autobuild.sh index d8cb63753..55ca5928b 100755 --- a/autobuild.sh +++ b/autobuild.sh @@ -60,14 +60,16 @@ cp_releasepackage() ssb_path=$package_dir/brandy-ssb/ssb.bin ssbelf_path=$package_dir/brandy-ssb/ssb.elf ssblst_path=$package_dir/brandy-ssb/ssb.lst - + dspmain_path=$HOMEDIR/code/sdk/tools/pkg/bin/brandy/dsp/normal/dsp_main.bin dspoverlay_path=$HOMEDIR/code/sdk/tools/pkg/bin/brandy/dsp/normal/dsp_overlay.bin bt_path=$HOMEDIR/code/sdk/tools/pkg/bin/brandy/bt.bin nv_path=$HOMEDIR/code/sdk/output/brandy/nv_bin/brandy_all_nv.bin + + resfile_path=$HOMEDIR/code/sdk/output/package/brandy/pack_brandy_native_js/brandy-native-js/file.bin - filename=${TARGET_PACK_NAME}_${RELEASE_BUILD}_${DATE}_${USER}.fwpkg - releasedir=$HOMEDIR/release/$TARGET_PACK_NAME/$RELEASE_BUILD/${DATE} + filename=${TARGET_PACK_NAME}_${RELEASE_BUILD}_${DEFAULT_CUSTOM_FW_VERSION}_${DATE}_${USER}.fwpkg + releasedir=$HOMEDIR/release/$TARGET_PACK_NAME/$RELEASE_BUILD/V${DEFAULT_CUSTOM_FW_VERSION}_${DATE} packsource=$HOMEDIR/code/sdk/tools/pkg/fwpkg/brandy/upload_app.fwpkg echo do release copy mkdir -p $releasedir/bin @@ -76,6 +78,7 @@ cp_releasepackage() cp -r $recovery_path $recoveryelf_path $recoverylst_path $releasedir/bin/ cp -r $ssb_path $ssbelf_path $ssblst_path $releasedir/bin/ cp -r $bt_path $dspmain_path $dspoverlay_path $nv_path $releasedir/bin/ + cp -r $resfile_path $releasedir/bin/ cp -r $HOMEDIR/build.log $releasedir/ cp $packsource $releasedir/$filename -- 2.17.1