avodeploy 0.6 → 0.6.1

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: 712296487b35893131d2e0f652d4592985ef66b0
4
- data.tar.gz: 39c30437334b6232ae0e97e10576c81a98a67746
3
+ metadata.gz: ca559b872605622ff5fe2039af1bd1c95c3eb6af
4
+ data.tar.gz: fa7af54a28564e8f63644bd8a0dc5dad4051c25a
5
5
  SHA512:
6
- metadata.gz: de0625baa2ad79105c8b0ccae4e71c0377eab51708d406125e98dc037c53e31427f604747f81df0ad11ec68c531fa8fca00a3e01802d3cab2722ceecda09401f
7
- data.tar.gz: 8ec0903c0d593cb00a13580b4f0af5dfa257d7e54261efde6e1a38f4c8379c24ba279c763518a9d0abb5a563d070421c5bd9ec71b4f0bca1a6c4711e392091a6
6
+ metadata.gz: 74217f4df26df2cb529d231235f3a5bf6dea47f5d31459eb048f33478df58bdfeed2a63822ba21da51e14a5dc9c10da67f9e50b7ed8025adb88ec8f9f4e85c71
7
+ data.tar.gz: 2d940c0499f6ca94bbfa08f1e18f732ec6dab4e90a7cfec18f71817f75a18dda91618d97532e1ac72748cacd8f6c04972c5345cd671d168f6f70fc1f91751092
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 0.6.1
2
+ * Print vcs tag/branch in deployment logfile
3
+
1
4
  0.6
2
5
  * Git now uses `--recursive` by default
3
6
  * Turned off password auth completely (publickey and hostbased only)
data/README.md CHANGED
@@ -3,7 +3,7 @@ develop: ![](https://travis-ci.org/dprandzioch/avocado.svg?branch=develop) | mas
3
3
  ### Avocado
4
4
  Avocado is a deployment framework for web applications written in Ruby.
5
5
 
6
- The current release is 0.6.
6
+ The current release is 0.6.1.
7
7
 
8
8
  ### Licensing
9
9
  Avocado is licensed under the GPLv2. For more Information have a look into the LICENSE file.
@@ -27,7 +27,7 @@ $ avo install
27
27
  to let Avocado place a deployment manifest file, called `Avofile`, in your project root folder. Then just open up the file in your editor of choice to customize your deployment process. The file is fully commented, giving you a basic understanding of how Avocado helps you to get your deployments done.
28
28
 
29
29
  ### Limitations
30
- Avocado does currently only work if you use Git for as version control system and SSH to deploy. Furthermore, the only implemented authentication method for both SSH and Git is public key authentication.
30
+ Avocado does currently only work if you use Git or Bazaar for as version control system and SSH to deploy. Furthermore, the only implemented authentication method for both SSH and Git/Bazaar is public key authentication.
31
31
 
32
32
  ### Changelog
33
33
  There is a [CHANGELOG](CHANGELOG) file that contains all the changes throughout every version.
@@ -55,7 +55,7 @@ module AvoDeploy
55
55
  end
56
56
 
57
57
  # Finds files that differ between two revisions and returns them
58
- # as a array
58
+ # as an array
59
59
  #
60
60
  # @param rev1 [String] sha1
61
61
  # @param rev2 [String] sha1
@@ -116,7 +116,15 @@ AvoDeploy::Deployment.configure do
116
116
  end
117
117
 
118
118
  task :log_deployment, after: :cleanup_remote, scope: :remote do
119
- command "echo '[#{Time.now.strftime('%Y-%m-%d %H-%M-%S')}] revision #{get(:revision)} deployed by #{ENV['USER']}' >> #{get(:log_file)}"
119
+ refspec = ""
120
+
121
+ if @options.nil? == false && @options[:tag].nil? == false
122
+ refspec = " (#{@options[:tag]})"
123
+ elsif get(:branch).nil? == false
124
+ refspec = " (#{get(:branch)})"
125
+ end
126
+
127
+ command "echo '[#{Time.now.strftime('%Y-%m-%d %H-%M-%S')}] revision #{get(:revision)}#{refspec} deployed by #{ENV['USER']}' >> #{get(:log_file)}"
120
128
  end
121
129
 
122
130
  task :cleanup_local, after: :cleanup_remote do
@@ -17,5 +17,5 @@
17
17
  =end
18
18
 
19
19
  module AvoDeploy
20
- VERSION = '0.6'
20
+ VERSION = '0.6.1'
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avodeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.6'
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Prandzioch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-29 00:00:00.000000000 Z
11
+ date: 2015-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler