-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
85 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions
4
.../Other/Base.lproj/LaunchScreen.storyboard → .../Other/Base.lproj/LaunchScreen.storyboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
#!/bin/zsh | ||
# Authoer: Rakuyo | ||
# Update Date: 2022.04.02 | ||
|
||
project_path=$(cd `dirname $0` ; pwd) | ||
|
||
cd $project_path | ||
|
||
while read line | ||
do | ||
if [[ $line =~ "s.name" ]] ; then | ||
name=`echo $line | cut -d = -f 2 | cut -d \' -f 2` | ||
fi | ||
|
||
if [[ $line =~ "s.version" ]] ; then | ||
version=`echo $line | cut -d = -f 2 | cut -d \' -f 2` | ||
break | ||
fi | ||
done < $(find ./ -name '*.podspec') | ||
|
||
lintLib(){ | ||
pod lib lint $name.podspec --allow-warnings --skip-tests | ||
} | ||
|
||
release(){ | ||
release_branch=release/$version | ||
|
||
git checkout -b $release_branch develop | ||
|
||
agvtool new-marketing-version $version | ||
|
||
agvtool next-version -all | ||
|
||
build=$(agvtool what-version | tail -n2 | awk -F ' ' '{print $NF}') | ||
|
||
git_message="[Release] version: $version build: $build" | ||
|
||
git add . && git commit -m $git_message | ||
|
||
git checkout master | ||
git merge --no-ff -m 'Merge branch '$release_branch'' $release_branch | ||
git push origin master | ||
git tag $version | ||
git push origin $version | ||
git checkout develop | ||
git merge --no-ff -m 'Merge tag '$version' into develop' $version | ||
git push origin develop | ||
git branch -d $release_branch | ||
|
||
pod trunk push $name.podspec --allow-warnings --skip-tests | ||
} | ||
|
||
echo "Whether to skip local verification? [Y/N]?" | ||
if read -t 5 is_skip_lint; then | ||
case $is_skip_lint in | ||
(N | n) | ||
lintLib && release;; | ||
(*) | ||
release;; | ||
esac | ||
else | ||
release | ||
fi |