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 @@ -57,10 +57,10 @@ NEW_VERSION="$(perl -ne 'print $1 if /"version":\s*"([^"]+)"/' package.json)"
57
57
update_version () {
58
58
local ver=" $1 "
59
59
# Update source file version
60
- perl -pi -e ' s/(jQuery Micro Utils v)\d+\.\d+\.\d+/\1 ' " $ver " ' /g' src/jquery-micro-utils.js
61
- perl -pi -e ' s/(\$\.microUtils = \{ version: [' \' ' "])([^' \' ' "]+)([' \' ' "] \})/\1 ' " $ver " ' \3 /g' src/jquery-micro-utils.js
60
+ perl -pi -e ' s/(jQuery Micro Utils v)\d+\.\d+\.\d+/${1} ' " $ver " ' /g' src/jquery-micro-utils.js
61
+ perl -pi -e ' s/(\$\.microUtils = \{ version: [' \' ' "])([^' \' ' "]+)([' \' ' "] \})/${1} ' " $ver " ' ${3} /g' src/jquery-micro-utils.js
62
62
# Update README CDN link
63
- perl -pi -e ' s/(cdn\.jsdelivr\.net\/gh\/AnswerDotAI\/jquery-micro-utils@)\d+\.\d+\.\d+/\1 ' " $ver " ' /g' README.md
63
+ perl -pi -e ' s/(cdn\.jsdelivr\.net\/gh\/AnswerDotAI\/jquery-micro-utils@)\d+\.\d+\.\d+/${1} ' " $ver " ' /g' README.md
64
64
}
65
65
66
66
update_version " $NEW_VERSION "
You can’t perform that action at this time.
0 commit comments