|
@@ -120,9 +120,10 @@ class Deployer:
|
|
|
|
|
|
self.init_repo()
|
|
|
|
|
|
+
|
|
|
|
|
|
- command = 'mkdir -p %s' % (self.dir_codebase_project)
|
|
|
- result = self.localhost.local(command, wenv=self.config())
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
command = self.project_info['prev_deploy']
|
|
@@ -196,20 +197,20 @@ class Deployer:
|
|
|
with self.localhost.cd(self.local_codebase + self.release_version):
|
|
|
result = self.localhost.local(command, wenv=self.config())
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+ self.release_version_tar = '%s.tgz' % (self.release_version)
|
|
|
+ with self.localhost.cd(self.local_codebase):
|
|
|
+ excludes = excludes_format(self.project_info['excludes'])
|
|
|
+ command = 'tar zcf %s %s %s' % (self.release_version_tar, excludes, self.release_version)
|
|
|
+ result = self.localhost.local(command, wenv=self.config())
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- self.release_version_tar = '%s.tgz' % (self.release_version)
|
|
|
- with self.local.cd(self.local_codebase):
|
|
|
- excludes = suffix_format(self.dir_codebase_project, self.project_info['excludes'])
|
|
|
- command = 'tar zcf %s %s %s' % (self.release_version_tar, excludes, self.release_version)
|
|
|
- result = self.local.run(command, wenv=self.config())
|
|
|
+
|
|
|
|
|
|
def prev_release(self, waller):
|
|
|
'''
|