Skip to content

Instantly share code, notes, and snippets.

Last active December 9, 2016 16:29
What would you like to do?
bump video.js version in examples and
export OLD_VERSION=5.9.2
export NEW_VERSION=5.10.8
# check if language files exist
wget --delete-after$NEW_VERSION/lang/nl.js
# update videojs in examples and documentation
find examples/ -type f -name '*.html' -exec sed -i '' -e "s/$OLD_VERSION/$NEW_VERSION/" {} \;
find . -type f -name '*.md' -exec sed -i '' -e "s/$OLD_VERSION/$NEW_VERSION/" {} \;
git commit -am "bump videojs to $NEW_VERSION in examples and documentation"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment