Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
87a78f1e
Commit
87a78f1e
authored
Dec 27, 2012
by
Keith Smiley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If a repo isn't passed to push default to master
parent
3f6e44ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
push.rb
lib/cocoapods/command/push.rb
+6
-1
No files found.
lib/cocoapods/command/push.rb
View file @
87a78f1e
...
...
@@ -27,7 +27,12 @@ module Pod
@allow_warnings
=
argv
.
option
(
'--allow-warnings'
)
@local_only
=
argv
.
option
(
'--local-only'
)
@repo
=
argv
.
shift_argument
@podspec
=
argv
.
shift_argument
if
@repo
.
end_with?
".podspec"
@podspec
=
@repo
@repo
=
"master"
else
@podspec
=
argv
.
shift_argument
end
super
unless
argv
.
empty?
&&
@repo
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment