autobuild 1.5.14 → 1.5.15
Sign up to get free protection for your applications and to get access to all the features.
- data/Changes.txt +3 -0
- data/lib/autobuild.rb +1 -1
- data/lib/autobuild/import/git.rb +2 -0
- metadata +3 -3
data/Changes.txt
CHANGED
data/lib/autobuild.rb
CHANGED
data/lib/autobuild/import/git.rb
CHANGED
@@ -226,8 +226,10 @@ module Autobuild
|
|
226
226
|
# Check if the target branch already exists. If it is the
|
227
227
|
# case, check it out. Otherwise, create it.
|
228
228
|
if File.file?(File.join(".git", "refs", "heads", branch))
|
229
|
+
package.progress "switching branch of %s to %s" % [package.name, branch]
|
229
230
|
Subprocess.run(package, :import, Autobuild.tool('git'), 'checkout', branch)
|
230
231
|
else
|
232
|
+
package.progress "checking out branch %s for %s" % [branch, package.name]
|
231
233
|
Subprocess.run(package, :import, Autobuild.tool('git'), 'checkout', '-b', branch, "FETCH_HEAD")
|
232
234
|
end
|
233
235
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 1.5.
|
8
|
+
- 15
|
9
|
+
version: 1.5.15
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sylvain Joyeux
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-07-08 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|