diff --git a/release.sh b/release.sh index 0a315abc..d55ecfd6 100755 --- a/release.sh +++ b/release.sh @@ -24,8 +24,8 @@ remote="github" echo "Updating Version Identifiers" -sed -E -e "s/\"version\": \"([0-9\.]+)\",/\"version\": \"$ver\",/g" -i "" component.json select2.jquery.json -git add component.json +sed -E -e "s/\"version\": \"([0-9\.]+)\",/\"version\": \"$ver\",/g" -i "" bower.json select2.jquery.json +git add bower.json git add select2.jquery.json git commit -m "modified version identifiers in descriptors for release $ver" git push @@ -37,7 +37,7 @@ echo "Tokenizing..." 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 "" component.json +sed -e "s/latest/$ver/g" -i "" bower.json git add "$js" git add "$css"