Skip to content

Commit

Permalink
create the releaseinfo directory for a new version too
Browse files Browse the repository at this point in the history
  • Loading branch information
janwijbrand committed Oct 26, 2010
1 parent 73791d7 commit d62ebfb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/groktoolkit/__init__.py
Expand Up @@ -7,6 +7,10 @@
RELEASEINFOPATH = '/var/www/html/grok/releaseinfo'

def _upload_gtk_versions(packageroot, version):
# Create the releaseinfo directory for this version.
cmd = 'ssh %s "mkdir %s/%s"' % (HOST, RELEASEINFOPATH, version)
print cmd + '\n'
print commands.getoutput(cmd)
# ``scp`` the file to the given destination.
versions_filename = os.path.join(packageroot, 'grok.cfg')
cmd = 'scp %s %s:%s/%s/versions.cfg' % (
Expand Down

0 comments on commit d62ebfb

Please sign in to comment.