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
eede812a
Commit
eede812a
authored
Jul 02, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Repo] Use master branch of specs repo.
parent
23685000
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Rakefile
Rakefile
+1
-1
setup.rb
lib/cocoapods/command/setup.rb
+2
-3
No files found.
Rakefile
View file @
eede812a
...
@@ -148,7 +148,7 @@ namespace :gem do
...
@@ -148,7 +148,7 @@ namespace :gem do
# Update the last version in CocoaPods-version.yml
# Update the last version in CocoaPods-version.yml
puts
"* Updating last known version in Specs repo"
puts
"* Updating last known version in Specs repo"
specs_branch
=
'
0.6
'
specs_branch
=
'
master
'
Dir
.
chdir
(
'../Specs'
)
do
Dir
.
chdir
(
'../Specs'
)
do
puts
Dir
.
pwd
puts
Dir
.
pwd
sh
"git checkout
#{
specs_branch
}
"
sh
"git checkout
#{
specs_branch
}
"
...
...
lib/cocoapods/command/setup.rb
View file @
eede812a
...
@@ -71,17 +71,16 @@ module Pod
...
@@ -71,17 +71,16 @@ module Pod
end
end
def
add_master_repo
def
add_master_repo
@command
||=
Repo
.
new
(
ARGV
.
new
([
'add'
,
'master'
,
url
,
'
0.6
'
])).
run
@command
||=
Repo
.
new
(
ARGV
.
new
([
'add'
,
'master'
,
url
,
'
master
'
])).
run
end
end
def
update_master_repo
def
update_master_repo
Repo
.
new
(
ARGV
.
new
([
'update'
,
'master'
])).
run
Repo
.
new
(
ARGV
.
new
([
'update'
,
'master'
])).
run
end
end
#TODO: remove after rc
def
set_master_repo_branch
def
set_master_repo_branch
Dir
.
chdir
(
dir
)
do
Dir
.
chdir
(
dir
)
do
git
(
"checkout
0.6
"
)
git
(
"checkout
master
"
)
end
end
end
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