1
0
mirror of synced 2024-11-22 13:06:08 +03:00

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:
Kevin Brown 2014-01-11 17:56:17 -05:00
parent 4847be1ab7
commit a97b908a2a
2 changed files with 6 additions and 4 deletions

View File

@ -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",

View File

@ -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