diff --git a/composer.json b/composer.json index dda3a86b..6bcd0558 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/release.sh b/release.sh index f1287f2c..9a02d5e8 100755 --- a/release.sh +++ b/release.sh @@ -28,19 +28,20 @@ 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 - + git branch "$branch" git checkout "$branch" echo "Tokenizing..." -find . -name "$js" | xargs -I{} sed -e "$tokens" -i "" {} +find . -name "$js" | xargs -I{} sed -e "$tokens" -i "" {} find . -name "$css" | xargs -I{} sed -e "$tokens" -i "" {} sed -e "s/latest/$ver/g" -i "" bower.json @@ -59,7 +60,7 @@ curl -s \ >> "$mini" git add "$mini" - + git commit -m "release $ver" echo "Tagging..."