capistrano-demonz 0.0.13 → 0.0.14
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/README.md +0 -32
- data/lib/demonz/drupal.rb +3 -3
- data/lib/demonz/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -2,38 +2,6 @@
|
|
2
2
|
|
3
3
|
Capistrano recipes developed for use by [Demonz Media](http://demonzmedia.com).
|
4
4
|
|
5
|
-
**Current version:** 0.0.13
|
6
|
-
|
7
|
-
## Changes ##
|
8
|
-
### 0.0.13 ###
|
9
|
-
* Fixes stupid issue where 'chmod' wasn't included in previous fix.
|
10
|
-
|
11
|
-
### 0.0.12 (yanked) ###
|
12
|
-
* Fixed issue where update scripts weren't executable by the group.
|
13
|
-
|
14
|
-
### 0.0.11 ###
|
15
|
-
* Fixed 'current' symlink deletion in deploy:delete_release.
|
16
|
-
|
17
|
-
### 0.0.10 ###
|
18
|
-
* Fixed issue where incorrect database names were being generated.
|
19
|
-
|
20
|
-
### 0.0.9 ###
|
21
|
-
* Release name is now set in a Drupal variable ('site_release_name') post-migrate.
|
22
|
-
|
23
|
-
### 0.0.8 ###
|
24
|
-
* Added 'deploy:delete_release' for the Drupal recipe, lets you remove a specific release (and cleanup as required). Run with (replace 'MYRELEASE'):
|
25
|
-
|
26
|
-
$ cap deploy:delete_release RELEASE="MYRELEASE"
|
27
|
-
|
28
|
-
### 0.0.6/0.0.7
|
29
|
-
* Fixed a number of bugs and default settings issues.
|
30
|
-
* Added automated Compass (SASS) compilation
|
31
|
-
|
32
|
-
### 0.0.5
|
33
|
-
* Initial stable release
|
34
|
-
|
35
|
-
Only includes a Drupal recipe for now.
|
36
|
-
|
37
5
|
## Installation
|
38
6
|
|
39
7
|
Make sure you have ruby and RubyGems installed, then run (you may need to prefix this with `sudo`):
|
data/lib/demonz/drupal.rb
CHANGED
@@ -259,14 +259,14 @@ configuration.load do
|
|
259
259
|
|
260
260
|
if remote_file_exists?(update_script_file)
|
261
261
|
# Make sure script is executable.
|
262
|
-
run "#{try_sudo} chmod
|
263
|
-
run update_script_file
|
262
|
+
run "#{try_sudo} chmod go+x #{update_script_file}"
|
263
|
+
run "cd #{latest_release} && #{update_script_file}"
|
264
264
|
end
|
265
265
|
end
|
266
266
|
|
267
267
|
desc "Set release name for site"
|
268
268
|
task :update_visible_release_name, :roles => :web, :except => { :no_release => true } do
|
269
|
-
run "#{drush_bin} -r #{latest_release} vset --yes site_release_version `git describe --tags`"
|
269
|
+
run "cd #{latest_release} && #{drush_bin} -r #{latest_release} vset --yes site_release_version `git describe --tags`"
|
270
270
|
end
|
271
271
|
|
272
272
|
desc "Compile SASS (using Compass) for this release"
|
data/lib/demonz/version.rb
CHANGED