a2zdeploy 1.0.9 → 1.0.10

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: 7f35c9a4c04ea9b55dcd935dd480aaf891e2609e
4
- data.tar.gz: 33bb2061a5763d24eaa2bf8f6aa7991245316a26
3
+ metadata.gz: 5f31e4c895816fe7077b87e0905484e77a9a3b42
4
+ data.tar.gz: c5d6db37370f8fba296fad53cd216884d59a2802
5
5
  SHA512:
6
- metadata.gz: a9bbf20ec080cee4eaed2f27f94e5899c9daeef58f53af215dfb263648c98a4e4c632e89dcd939765e81678ce193b1941cf5569817528f589548e0e8af07b215
7
- data.tar.gz: 08f54fdeef25bdc998ca04abdf4c879e2284a0c337421bf0569acd661f12ddbd01d43e9b759dd5a8b0363955c7149173574a2f2b0f8054d757ccee50eae3e804
6
+ metadata.gz: deb5fd2b1301370d898dedb25e1141b790e34021852df983e952fd57e82d76b0e5b45f02b08fbc4806d2f42bffe47be42374234bad7dc3c5703a6e654da92969
7
+ data.tar.gz: fd88dcabc9746d2ff83bd1659ae3cc7b816ff1a1d1684c9c0fb7feada7e8b82b0a6fa44f36da3b1d815be326326440a9a3e346506180b1bb2b3f850bd9aa34ab
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.9'
3
+ s.version = '1.0.10'
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/github_api.rb CHANGED
@@ -126,8 +126,9 @@ module GithubApi
126
126
  #gotcha: line breaks need to be in double-quotes
127
127
  val = git_status.split("\n")
128
128
  val.each { |x|
129
+ puts "#{x}"
129
130
  value = x.split(' M ').last || x.split('?? ').last
130
- if (/.csproj/.match(value) || /packages.config/.match(value))
131
+ if (/.csproj/.match(value) || /packages.config/.match(value) || /.semver/.match(value))
131
132
  status = `git add #{value}`
132
133
  if status != GlobalConstants::EMPTY
133
134
  return false
data/lib/upgradeall.rb CHANGED
@@ -105,7 +105,7 @@ class UpgradeAll
105
105
  Dir.chdir GlobalConstants::PARENTDIR
106
106
 
107
107
  # if publishing nuget package, wait for a minute for publish to finish
108
- waitfor node.metadata.build_wait_time_in_secs if node.should_publish_nuget
108
+ waitfor node.metadata.build_wait_time_in_secs if node.should_publish_nuget.downcase == 'y'
109
109
  else
110
110
  # either cycle was unterrupted, a step in upgrade failed or full cycle successfully completed
111
111
  # save the version map and manifest
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.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suresh Batta