Make it compatible with Mac
Test Plan: - ./release 0.6.0 0.7.0 Auditors: emily
This commit is contained in:
parent
363a6ba311
commit
36164b98ea
|
@ -36,8 +36,8 @@ make setup dist
|
||||||
git add dist/
|
git add dist/
|
||||||
|
|
||||||
# Edit package.json and bower.json to the right version
|
# Edit package.json and bower.json to the right version
|
||||||
sed -i 's|"version": "[^"]\+",|"version": "'$VERSION'",|' package.json
|
sed -i "" -E 's|"version": "[^"]+",|"version": "'$VERSION'",|' package.json
|
||||||
sed -i 's|"version": "[^"]\+",|"version": "'$VERSION'",|' bower.json
|
sed -i "" -E 's|"version": "[^"]+",|"version": "'$VERSION'",|' bower.json
|
||||||
|
|
||||||
# Make the commit and tag, and push them.
|
# Make the commit and tag, and push them.
|
||||||
git add package.json bower.json
|
git add package.json bower.json
|
||||||
|
@ -53,8 +53,8 @@ if [ ! -z "$NEXT_VERSION" ]; then
|
||||||
git checkout master
|
git checkout master
|
||||||
|
|
||||||
# Edit package.json and bower.json to the right version
|
# Edit package.json and bower.json to the right version
|
||||||
sed -i 's|"version": "[^"]\+",|"version": "'$NEXT_VERSION'-pre",|' package.json
|
sed -i "" -E 's|"version": "[^"]+",|"version": "'$NEXT_VERSION'-pre",|' package.json
|
||||||
sed -i 's|"version": "[^"]\+",|"version": "'$NEXT_VERSION'-pre",|' bower.json
|
sed -i "" -E 's|"version": "[^"]+",|"version": "'$NEXT_VERSION'-pre",|' bower.json
|
||||||
|
|
||||||
git add package.json bower.json
|
git add package.json bower.json
|
||||||
git commit -m "Bump master to v$NEXT_VERSION-pre"
|
git commit -m "Bump master to v$NEXT_VERSION-pre"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user