Added version to composer.json
This fixes #1997 by adding the `version` key to the `composer.json` file. The version number will be updated with newer releases as well.
This commit is contained in:
parent
4847be1ab7
commit
a97b908a2a
@ -2,6 +2,7 @@
|
||||
"name":
|
||||
"ivaynberg/select2",
|
||||
"description": "Select2 is a jQuery based replacement for select boxes.",
|
||||
"version": "3.4.5",
|
||||
"type": "component",
|
||||
"homepage": "http://ivaynberg.github.io/select2/",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -28,10 +28,11 @@ git pull
|
||||
|
||||
echo "Updating Version Identifiers"
|
||||
|
||||
sed -E -e "s/\"version\": \"([0-9\.]+)\",/\"version\": \"$ver\",/g" -i "" bower.json select2.jquery.json component.json
|
||||
sed -E -e "s/\"version\": \"([0-9\.]+)\",/\"version\": \"$ver\",/g" -i "" bower.json select2.jquery.json component.json composer.json
|
||||
git add bower.json
|
||||
git add select2.jquery.json
|
||||
git add component.json
|
||||
git add composer.json
|
||||
git commit -m "modified version identifiers in descriptors for release $ver"
|
||||
git push
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user