File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 22
33# Bumps extension manifest + git commit/push
44
5- # Init UI colors
5+ # Init UI COLORS
66NC=" \033[0m" # no color
77BR=" \033[1;91m" # bright red
88BY=" \033[1;33m" # bright yellow
99BG=" \033[1;92m" # bright green
1010BW=" \033[1;97m" # bright white
1111
12- # Init manifest path
12+ # Init manifest PATH
1313manifest=" chromium/extension/manifest.json"
1414
15- # Bump version
15+ # BUMP version
1616echo -e " ${BY} \nBumping version in ${manifest} ...${NC} \n"
1717TODAY=$( date +' %Y.%-m.%-d' ) # YYYY.M.D format
1818new_versions=() # for dynamic commit msg
3131sed -i " s/\" version\" : \" $old_ver \" /\" version\" : \" $NEW_VER \" /" " $manifest "
3232echo -e " ${BW} v${old_ver}${NC} → ${BG} v${NEW_VER}${NC} "
3333
34- # Commit/push bump(s)
34+ # COMMIT/PUSH bump(s)
3535echo -e " ${BY} \nCommitting bump to Git...\n${NC} "
3636git add ./** /manifest.json && git commit -n -m " Bumped \` version\` to $NEW_VER "
3737git push
3838
39- # Print final summary
39+ # Print FINAL summary
4040echo -e " \n${BG} Success! ${manifest} updated/committed/pushed to GitHub${NC} "
You can’t perform that action at this time.
0 commit comments