fanforce-app-factory 2.0.0.rc21 → 2.0.0.rc22
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55a4e92da17e8eaed1471c55e2bc0253d6493832
|
4
|
+
data.tar.gz: 34ba957668236bf3d5096a318f16160d111844ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9639c5b2bcec3ecc4a288c9e8d4c462230734152a453265f84736384f8fa6042fa0c5649cb7c1edc161922775a64bbe1859dd667a8332bd05b3064268a2c11fe
|
7
|
+
data.tar.gz: 88c03fcb2ab00c5509ebafb50569440060a58949bf400cc5717ac0e6f47f57e408c045ab9df5476fbf6bb197feebb5720d0ed87fafec0cfc376d40a90fab2b17
|
@@ -48,11 +48,11 @@ class Fanforce::AppFactory::CLI::Bitbucket
|
|
48
48
|
def setup_git_remote(repo_name)
|
49
49
|
Dir.chdir(app.dir) do
|
50
50
|
if console_command('git remote').split(/\r?\n/).include?('bitbucket')
|
51
|
-
log "#{'Found '.format(:green,:bold)}" +
|
51
|
+
log "#{'Found '.format(:green,:bold)}" + "git remote for bitbucket (#{config[:bitbucket][:user]})"
|
52
52
|
else
|
53
53
|
console_command("git remote add bitbucket git@bitbucket.org:#{config[:bitbucket][:user]}/#{repo_name}.git")
|
54
54
|
console_command('git fetch bitbucket')
|
55
|
-
log "#{'Created '.format(:green,:bold)}" +
|
55
|
+
log "#{'Created '.format(:green,:bold)}" + "git remote for bitbucket (#{config[:bitbucket][:user]})"
|
56
56
|
end
|
57
57
|
|
58
58
|
upstream_error = Open3.popen3('git rev-parse --abbrev-ref master@{upstream}')[2].gets.to_s
|
@@ -63,7 +63,7 @@ class Fanforce::AppFactory::CLI::Bitbucket
|
|
63
63
|
log "#{'Found '.format(:green,:bold)}" + 'upstream connected to bitbucket/master'
|
64
64
|
end
|
65
65
|
|
66
|
-
log "#{'Pushing '.format(:green,:bold)}" +
|
66
|
+
log "#{'Pushing '.format(:green,:bold)}" + 'latest commit to bitbucket/master...'
|
67
67
|
console_command('git push bitbucket --all', true)
|
68
68
|
end
|
69
69
|
end
|