File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 99set -u
1010
1111# For AMTM versioning:
12- readonly SCRIPT_VERSION=1.0.2
12+ readonly SCRIPT_VERSION=1.0.1
1313readonly SCRIPT_NAME=" MerlinAU"
1414
1515# #-------------------------------------##
@@ -2600,11 +2600,11 @@ Please manually update to version $minimum_supported_version or higher to use th
26002600 formatted_release_version=$( echo $release_version | awk -F. ' {print $2"."$3}' )
26012601
26022602 # Check if the current version is present in the changelog
2603- if ! grep -q " $ formatted_current_version" " $changelog_file " ; then
2603+ if ! grep -qE " ^ ${ formatted_current_version} \([0-9]+[-] " " $changelog_file " ; then
26042604 Say " Current version not found in change-log. Bypassing change-log verification for this run."
26052605 else
26062606 # Extract log contents between two firmware versions
2607- changelog_contents=$( awk " /$formatted_release_version /,/$formatted_current_version /" " $changelog_file " )
2607+ changelog_contents=$( awk " /^ $formatted_release_version \([0-9]+[-] /,/$formatted_current_version \([0-9]+[-] /" " $changelog_file " )
26082608
26092609 # Define high-risk terms as a single string separated by '|'
26102610 high_risk_terms=" factory default reset|features are disabled|break backward compatibility|must be manually|strongly recommended"
You can’t perform that action at this time.
0 commit comments