devops_assist 0.3.5 → 0.3.6

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
  SHA256:
3
- metadata.gz: 25dcd969f150b40b494562e4a2f4247fa93839857452687d84dce8727fdc12cf
4
- data.tar.gz: 2ba0fc856e8dc5aacbaa63119a81f8d686321e6766fc1894ae2a1e7298ac3327
3
+ metadata.gz: d4333f8e311a05e478f0720775350f05e557014a7e64ac1c8176d9a2742a1d5e
4
+ data.tar.gz: 1333d87b97be084a3213810f51fea601389c9b0d56f5eb4a6f9c1e016f68be74
5
5
  SHA512:
6
- metadata.gz: 3d2102fef7458504a64dec4a66f776127d9d712d2507a005327bd4e27085da9638eb22d343b96035ef36e567067f782c2b9a3d04bae8174f5a73f9e0fcdef94d
7
- data.tar.gz: 448b1b76f9f4faa3dc9e66096cd681b087dc3e74a590da0a557d0ef58acf7be10602cf6557831a09f4f9de07df8cec48bd24a74730df0b4f849011e31950d3d4
6
+ metadata.gz: 02f42dac3f70baabb42f623ffb46c6d06c3facb9837c183bb0709c3f4cb6989d334a431f65971151980cdc36c81c269a04023afc009e0f2f734032cf7b6f416e
7
+ data.tar.gz: 04cc0bfb01201d31a3fa936fc660d17e4cb494ce40ce30d1ac3e2c09bcc939af24c0ef85e267ceda4c3bafe313b4634a1375ee14b625dd0f5bbeae383fab5286
data/.release_history.yml CHANGED
@@ -26,3 +26,5 @@ devops_assist:
26
26
  :timestamp: 1679814912.2051551
27
27
  - :version: 0.3.4
28
28
  :timestamp: 1679814952.708086
29
+ - :version: 0.3.5
30
+ :timestamp: 1679817289.8002794
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devops_assist (0.3.5)
4
+ devops_assist (0.3.6)
5
5
  git_cli
6
6
  git_cli_prompt
7
7
  gvcs
@@ -106,6 +106,7 @@ module DevopsAssist
106
106
  cmd = "cd #{root} && gem push #{targetGem} -k #{selAcct}"
107
107
  logger.tdebug :pubgemfile, "Command to publish gem : #{cmd}"
108
108
  res = `#{cmd}`
109
+ $stdin.gets while $stdin.ready? # to clear out any remaining input entry in the event publish operation failed
109
110
  [$?, res, targetGem]
110
111
  else
111
112
  raise GemError, "Given Gemfile '#{gemfile}' not found"
@@ -1,5 +1,5 @@
1
1
 
2
2
 
3
3
  module DevopsAssist
4
- VERSION = "0.3.5"
4
+ VERSION = "0.3.6"
5
5
  end
@@ -48,11 +48,20 @@ namespace :devops do
48
48
  end
49
49
  pmt.say " Version file updated", color: :yellow
50
50
 
51
+ # Add file changed by system into git first
52
+ miscFiles = []
53
+ miscFiles << selVerFile # version.rb
54
+ #miscFiles << DevopsAssist::ReleaseLogger::LOG_NAME # release_history.yml
55
+ #miscFiles << 'Gemfile.lock'
56
+ Rake::Task["devops:vcs:checkin_misc_files"].execute({ root: root, files: miscFiles, version: ver })
57
+ #pmt.say " Updated files during release prep have committed into version control", color: :yellow
58
+
51
59
 
52
60
  # check in source code
53
61
  # Check in must be done 1st or else the 'gem build' process will fail
54
62
  # because build will use git command. For any files that already deleted,
55
63
  # the build will failed to find the files and throw exception
64
+ # However, there are files that will changed after build i.e Gemfile.lock
56
65
  res = Rake::Task["devops:vcs:checkin_changes"].execute
57
66
  pmt.say " Workspace check in done\n", color: :yellow
58
67
 
data/tasks/gem.rake CHANGED
@@ -64,6 +64,9 @@ namespace :devops do
64
64
 
65
65
  if res.respond_to?(:success?)
66
66
  if res.success?
67
+ pmt.puts
68
+ pmt.puts out, color: :yellow
69
+ pmt.puts
67
70
  pmt.say " Gem published!\n", color: :yellow
68
71
  else
69
72
  pmt.say " Gem publishing failed. Return message :\n#{out}", color: :red
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devops_assist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Liaw
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-26 00:00:00.000000000 Z
11
+ date: 2023-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toolrack