Version numbers for Chromium dev builds compatible with Chromestore requirements.

This commit is contained in:
hackademix 2019-11-01 14:52:29 +01:00
parent 374f7815ed
commit a34287020c
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ strip_rc_ver() {
if [ "$2" = "rel" ]; then
replace='s/("version":.*)rc\d+/$1/'
else
replace='s/("version":.*)(\d+)rc(\d+)/{$1 . ($2 == "0" ? "0" : ($2-1) . ".999" . sprintf("%03d", $3))}/e'
replace='s/("version":.*)(\d+)rc(\d+)/{$1 . ($2 == "0" ? "0" : ($2-1) . ".9" . sprintf("%03d", $3))}/e'
fi
perl -pi.bak -e "$replace" "$MANIFEST" && rm -f "$MANIFEST".bak
}