Created
January 25, 2016 17:45
-
-
Save dwelch2344/f96d4d999e097a3d8549 to your computer and use it in GitHub Desktop.
Simple find and replace for versioning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 2, | |
"name": "My App", | |
"version": "0.1", | |
"someProp": "foo_bar_baz" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat manifest.json | sed 's/\("version": "\)[^"]*\("\)/\1newvalue\2/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment