pushdeploy 0.0.18 → 0.0.19
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.
- data/bin/pushdeploy_create_config +3 -1
- data/lib/pushdeploy/version.rb +1 -1
- metadata +1 -2
- data/config/after_deploy.rb +0 -15
@@ -23,7 +23,7 @@ require 'pushdeploy'
|
|
23
23
|
PushDeploy.new(ARGV) do
|
24
24
|
bundle
|
25
25
|
migrate
|
26
|
-
run "touch
|
26
|
+
run "touch ./tmp/restart.txt"
|
27
27
|
end
|
28
28
|
}
|
29
29
|
|
@@ -32,3 +32,5 @@ puts "\e[00;32mConfig has been successfully created!\e[00m"
|
|
32
32
|
puts "*************************************\n"
|
33
33
|
|
34
34
|
puts "You can edit " + `pwd`.chop + "/config/after_deploy.rb to add commands that you want to run after deployment.\n\n"
|
35
|
+
`chmod 755 $(pwd)/config/after_deploy.rb`
|
36
|
+
`git add $(pwd)/config/after_deploy.rb`
|
data/lib/pushdeploy/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: pushdeploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.19
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Artem Yankov
|
@@ -31,7 +31,6 @@ files:
|
|
31
31
|
- Rakefile
|
32
32
|
- bin/pushdeploy_create_config
|
33
33
|
- bin/pushdeploy_install_hook
|
34
|
-
- config/after_deploy.rb
|
35
34
|
- hooks/post-receive
|
36
35
|
- lib/pushdeploy.rb
|
37
36
|
- lib/pushdeploy/version.rb
|
data/config/after_deploy.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
#
|
4
|
-
# This script is launched by post-receive hook when push is completed.
|
5
|
-
# The general purpose of this script is to run bundler, migration and
|
6
|
-
# other commands that you want to launch after deployment.
|
7
|
-
#
|
8
|
-
|
9
|
-
require 'pushdeploy'
|
10
|
-
|
11
|
-
PushDeploy.new(ARGV) do
|
12
|
-
bundle
|
13
|
-
migrate
|
14
|
-
run "touch /tmp/restart.txt"
|
15
|
-
end
|