File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ echo -e "\033[1;34mCreating commit for version\033[0m"
4141
4242VERSION=" $1 "
4343
44- echo " \" $VERSION \" " > applesimutils/applesimutils/version.h
44+ echo " \" ${ VERSION} \" " > applesimutils/applesimutils/version.h
4545
4646echo -e " \033[1;34mCreating a compressed tarball of the source\033[0m"
4747
@@ -72,19 +72,19 @@ git fetch
7272git pull --rebase
7373sed -i ' ' -e ' s/^\ \ url .*/\ \ url ' " 'https:\/\/github.com\/wix\/AppleSimulatorUtils\/releases\/download\/${VERSION} \/${SRC_TGZ_FILE} '" ' /g' applesimutils.rb
7474sed -i ' ' -e ' s/^\ \ \ \ root\_url .*/\ \ \ \ root\_url ' " 'https:\/\/github.com\/wix\/AppleSimulatorUtils\/releases\/download\/${VERSION} '" ' /g' applesimutils.rb
75- sed -i ' ' -e ' s/^\ \ sha256 .*/\ \ sha256 ' " '" $( shasum -b -a 256 ../build/${SRC_TGZ_FILE} | awk ' { print $1 }' ) " '" ' /g' applesimutils.rb
76- sed -i ' ' -e ' s/^\ \ \ \ sha256 .*/\ \ \ \ sha256 ' " '" $( shasum -b -a 256 ../bottle/${BOTTLE_TGZ_FILE} | awk ' { print $1 }' ) " '" ' \ \=\>\ \:mojave/g' applesimutils.rb
75+ sed -i ' ' -e ' s/^\ \ sha256 .*/\ \ sha256 ' " '" $( shasum -b -a 256 ../build/${SRC_TGZ_FILE} | awk ' { print ${VERSION} }' ) " '" ' /g' applesimutils.rb
76+ sed -i ' ' -e ' s/^\ \ \ \ sha256 .*/\ \ \ \ sha256 ' " '" $( shasum -b -a 256 ../bottle/${BOTTLE_TGZ_FILE} | awk ' { print ${VERSION} }' ) " '" ' \ \=\>\ \:mojave/g' applesimutils.rb
7777git add -A
78- git commit -m " $1 "
78+ git commit -m " Apple Simulator Utils ${VERSION} "
7979git push
8080
8181cd ..
8282
8383echo -e " \033[1;34mPushing changes to AppleSimUtils\033[0m"
8484
8585git add -A
86- git commit -m " $1 "
87- git tag " $1 "
86+ git commit -m " ${VERSION} "
87+ git tag " ${VERSION} "
8888
8989git push
9090git push --tags
You can’t perform that action at this time.
0 commit comments