From: SnickerSun Date: Wed, 12 Jun 2024 13:33:58 +0000 (+0800) Subject: release路径添加版本号,方便跟踪 X-Git-Tag: release_V1.2.70_20241020_135402~989^2~13 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=47332ca1937403225948c5c85b6057eff72b952a;p=mirrors%2FFD230.git release路径添加版本号,方便跟踪 --- 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