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

update build script

This commit is contained in:
Igor Vaynberg 2013-08-12 15:03:50 -07:00
parent ec740d8beb
commit 12d3c4ece2

View File

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