autodeploy 0.0.8 → 0.0.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f8455eb0fd7a8f1ccf8c29ce4bccbaa724b01bf
4
- data.tar.gz: e584f6bbcc7502a7804c7342576765234f02a8fa
3
+ metadata.gz: fd531ad3b56b8bedfed0260a18c0b5a52796e952
4
+ data.tar.gz: dc273d70cdc94f03894948cc4f183ba4fe8cea1c
5
5
  SHA512:
6
- metadata.gz: bde8a2ef9b842f7ab74752d76ea1da7128ca494096f95698660a28f9f64fc2d68b6ce3aeee5b17c916b6c564e0cb80ae42b45684d5e7614b88662e62ec59ba64
7
- data.tar.gz: 1de902ff6495cb513ebbf9cfe1fd462b8920754e9014493b5aed578aa2b5d5c30ece2d6e4d04aa72db7236c95b14051a030e2f334d354fe4ba25ee21426a92e6
6
+ metadata.gz: f67990d8ebbf438afa89146d77e0a58f8e1c434fb4443c861fc1711de705d27426f675b29f7c05b1a35be148ad179afa0596d8a2ff284916648ed838dbd77c8e
7
+ data.tar.gz: 476b289dfa750f16962dbc99b7e906815731cc3cedf8618fc78df68cec718d3397128346c745b3028615ccbe00ec1fe02183517bd18c8dfe90ded4faeceedd49
@@ -15,7 +15,7 @@ module Autodeploy
15
15
 
16
16
  file_downloaded = has_file_been_downloaded
17
17
  return unless file_downloaded
18
-
18
+
19
19
  file_deployed = has_file_been_deployed
20
20
  return if file_deployed
21
21
 
@@ -35,7 +35,7 @@ module Autodeploy
35
35
  Autodeploy.log "Lock acquired"
36
36
 
37
37
  begin
38
- move_artifact_to_deploy_dir
38
+ return unless move_artifact_to_deploy_dir
39
39
 
40
40
  record_successful_deployment
41
41
  ensure
@@ -99,7 +99,11 @@ module Autodeploy
99
99
  Autodeploy.log "Moving aritifact to deploy dir"
100
100
 
101
101
  cmd = "mv -f #{@filepath} #{@config['deploy_dir']}/#{@config['deploy_artifact_name']}"
102
- success = system(cmd)
102
+ output = system(cmd)
103
+
104
+ Autodeploy.log output
105
+
106
+ output
103
107
  end
104
108
  end
105
109
  end
@@ -1,3 +1,3 @@
1
1
  module Autodeploy
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autodeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Breznak