a2zdeploy 1.0.6 → 1.0.7

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/a2zdeploy.gemspec +1 -1
  3. data/lib/upgrade.rb +6 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 298a478fccde6252f188f403a8aeb29498c204c7
4
- data.tar.gz: ef3ddd7691281371c80607e90015adbf0112d564
3
+ metadata.gz: 76318ebadbc0f43c3de30eeb1325d6b0cccf448c
4
+ data.tar.gz: fc67f2c7342100bf9ae5782589983b08a93b67f8
5
5
  SHA512:
6
- metadata.gz: 3b568d0eef4a46564f19287e8042cbadcc7d9538b71623537d0b398539fb3fffd4062533f9f0d8f53bd20eba884e03ece48b20d7e27976637f3780fabf9cd027
7
- data.tar.gz: a87f92f39faa92af393d1dce92e94ac392adcd4f20536efcf75ce14662c5214bcb232584d0d19cdf4e75c39d5171fb0b131064ce3a6c9d4cd88817392b76253f
6
+ metadata.gz: d8798ee2b117d616f137969b0a644b1a1193b4380987a6dacdb762ed343cf9e63dd4bb3b9021ee2c715af9531c649504832d53a85342a0a23a6ac95fce990bf0
7
+ data.tar.gz: 6a55ce54c063f69b3ddf7673c697289ab07ed7a837de755a36922d644d53cef6470d0086e15942095032191c9ea109942cc4bb08a8f58f5cc5b8431a56884a45
data/a2zdeploy.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'a2zdeploy'
3
- s.version = '1.0.6'
3
+ s.version = '1.0.7'
4
4
  s.date = '2016-02-08'
5
5
  s.summary = 'Given a project dependency chain, updates versions, builds, tests, manages service and cloud settings as well as build environment configuration'
6
6
  s.description = 'Automated Upgrades Gem. Provides version upgrades, build and deployment configuration management'
data/lib/upgrade.rb CHANGED
@@ -123,8 +123,10 @@ class UpgradePackages
123
123
  if is_local_run
124
124
  puts GlobalConstants::UPGRADE_PROGRESS + 'Local run. No branch update or teamcity build triggered'
125
125
  else
126
+ puts GlobalConstants::UPGRADE_PROGRESS + 'Branch update in progress...'
126
127
  return false if !update_branch
127
128
  # kick off teamcity build
129
+ puts GlobalConstants::UPGRADE_PROGRESS + 'Teamcity Project being triggered...'
128
130
  TeamCityApi.trigger_build @config_map.build_configuration_id, ENV['tc_un'], ENV['tc_pwd']
129
131
  end
130
132
 
@@ -150,7 +152,10 @@ class UpgradePackages
150
152
 
151
153
  # see if any files changed and commit
152
154
  git_status = GithubApi.HaveLocalChanges
153
- if git_status != nil || git_status != GlobalConstants::EMPTY
155
+ git_status = git_status != nil || git_status != GlobalConstants::EMPTY
156
+
157
+ puts GlobalConstants::UPGRADE_PROGRESS + " Local changes are present: #{git_status}"
158
+ if git_status
154
159
  puts GlobalConstants::UPGRADE_PROGRESS + 'Local version changes have been committed'
155
160
  return false if !GithubApi.CommitChanges( 'Versions updated')
156
161
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: a2zdeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suresh Batta