Skip to content

Commit

Permalink
update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilveirah committed Jan 23, 2024
1 parent 653474b commit d17d99a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,11 @@ deleteBranch() {

generateFrameworks() {
local skipFrameworks=$1
local version=$2
if [ $skipFrameworks -eq 1 ]; then
bash ./buildXCFrameworks.sh
git add .
git commit -m "'update XCFrameworksfor $version'"
git commit -m "'update XCFrameworks for $version'"
else
echo "skipping generating XCFrameworks"
fi
Expand All @@ -145,7 +146,7 @@ release () {
podInstall
git add .
git commit -am "'run pod install with $version'"
generateFrameworks $skipFrameworks
generateFrameworks $skipFrameworks $version
gitPush $dryRun "-u origin $currentBranch"
git checkout develop
git merge $currentBranch
Expand Down

0 comments on commit d17d99a

Please sign in to comment.