Remove. lazy_ass.sh
This commit is contained in:
parent
d95670ede5
commit
d0ab3f87bc
10
README.md
10
README.md
|
|
@ -1,9 +1 @@
|
|||
# Podspecs
|
||||
|
||||
To push new spec use:
|
||||
./lazy_ass.sh [POD_NAME] [POD_VERSION] [PATH_TO_PODSPEC]
|
||||
|
||||
Example:
|
||||
./lazy_ass.sh LeadKit 0.4.6 ~/Projects/LeadKit/LeadKit.podspec
|
||||
|
||||
Don't forget to create new pull request!
|
||||
# TouchInstinct Podspecs
|
||||
|
|
|
|||
23
lazy_ass.sh
23
lazy_ass.sh
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pod=$1
|
||||
version=$2
|
||||
podspec_path=$3
|
||||
|
||||
new_version_dir="$pod/$version/"
|
||||
|
||||
mkdir $new_version_dir
|
||||
|
||||
cp $podspec_path $new_version_dir
|
||||
|
||||
branch="$pod/$version"
|
||||
|
||||
git branch $branch
|
||||
|
||||
git checkout $branch
|
||||
|
||||
git add $new_version_dir
|
||||
|
||||
git commit -m "[Update] $pod ($version)"
|
||||
|
||||
git push origin $branch
|
||||
Loading…
Reference in New Issue