autobuild 1.5.52.rc2 → 1.5.52.rc3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/autobuild/import/git.rb +2 -2
- data/lib/autobuild/version.rb +1 -1
- metadata +3 -3
data/lib/autobuild/import/git.rb
CHANGED
|
@@ -187,7 +187,7 @@ module Autobuild
|
|
|
187
187
|
# Update the remote tag if needs be
|
|
188
188
|
if branch && commit_id
|
|
189
189
|
Subprocess.run(package, :import, Autobuild.tool('git'), 'update-ref',
|
|
190
|
-
"-m", "updated by autobuild", "refs/remotes/autobuild/#{
|
|
190
|
+
"-m", "updated by autobuild", "refs/remotes/autobuild/#{remote_branch}", commit_id)
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
commit_id
|
|
@@ -201,7 +201,7 @@ module Autobuild
|
|
|
201
201
|
validate_srcdir(package)
|
|
202
202
|
remote_commit = nil
|
|
203
203
|
if only_local
|
|
204
|
-
remote_commit = `git show-ref -s refs/
|
|
204
|
+
remote_commit = `git show-ref -s refs/remotes/autobuild/#{remote_branch}`.chomp
|
|
205
205
|
else
|
|
206
206
|
remote_commit =
|
|
207
207
|
begin fetch_remote(package)
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: autobuild
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 15424451
|
|
5
5
|
prerelease: 7
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 5
|
|
9
9
|
- 52
|
|
10
10
|
- rc
|
|
11
|
-
-
|
|
12
|
-
version: 1.5.52.
|
|
11
|
+
- 3
|
|
12
|
+
version: 1.5.52.rc3
|
|
13
13
|
platform: ruby
|
|
14
14
|
authors:
|
|
15
15
|
- Sylvain Joyeux
|