Skip to content

Commit

Permalink
Merge pull request #1740 from tardyp/betarelease
Browse files Browse the repository at this point in the history
Betarelease
  • Loading branch information
tardyp committed Jun 27, 2015
2 parents 2b68eee + 5a5ed84 commit f3c5cad
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 5 deletions.
15 changes: 15 additions & 0 deletions common/maketarballs.sh
@@ -0,0 +1,15 @@
#!/bin/bash
find . -name VERSION -exec rm {} \;
rm -rf dist
mkdir dist
for pkg in pkg master slave pkg www/base www/console_view www/waterfall_view
do
pip install -e ${pkg}
(
cd ${pkg}
rm -rf dist
python setup.py sdist
)
cp ${pkg}/dist/* dist/
pip wheel ${pkg} -w dist
done
9 changes: 7 additions & 2 deletions master/buildbot/__init__.py
Expand Up @@ -17,10 +17,15 @@
#
# We can't put this method in utility modules, because they import dependancy packages
#
from subprocess import Popen, PIPE, STDOUT
from __future__ import with_statement

import os
import re

from subprocess import PIPE
from subprocess import Popen
from subprocess import STDOUT


def getVersion(init_file):
"""
Expand All @@ -43,7 +48,7 @@ def getVersion(init_file):

# accept version to be coded with 2 or 3 parts (X.Y or X.Y.Z),
# no matter the number of digits for X, Y and Z
VERSION_MATCH = re.compile(r'(\d+\.\d+(\.\d+)?)(\w|-)*')
VERSION_MATCH = re.compile(r'(\d+\.\d+(\.\d+)?(\w|-)*)')

try:
p = Popen(['git', 'describe', '--tags', '--always'], stdout=PIPE, stderr=STDOUT, cwd=cwd)
Expand Down
2 changes: 1 addition & 1 deletion pkg/buildbot_pkg.py
Expand Up @@ -50,7 +50,7 @@ def getVersion(init_file):

# accept version to be coded with 2 or 3 parts (X.Y or X.Y.Z),
# no matter the number of digits for X, Y and Z
VERSION_MATCH = re.compile(r'(\d+\.\d+(\.\d+)?)(\w|-)*')
VERSION_MATCH = re.compile(r'(\d+\.\d+(\.\d+)?(\w|-)*)')

try:
p = Popen(['git', 'describe', '--tags', '--always'], stdout=PIPE, stderr=STDOUT, cwd=cwd)
Expand Down
8 changes: 6 additions & 2 deletions slave/buildslave/__init__.py
Expand Up @@ -18,10 +18,14 @@
# We can't put this method in utility modules, because they import dependancy packages
#
from __future__ import with_statement
from subprocess import Popen, PIPE, STDOUT

import os
import re

from subprocess import PIPE
from subprocess import Popen
from subprocess import STDOUT


def getVersion(init_file):
"""
Expand All @@ -44,7 +48,7 @@ def getVersion(init_file):

# accept version to be coded with 2 or 3 parts (X.Y or X.Y.Z),
# no matter the number of digits for X, Y and Z
VERSION_MATCH = re.compile(r'(\d+\.\d+(\.\d+)?)(\w|-)*')
VERSION_MATCH = re.compile(r'(\d+\.\d+(\.\d+)?(\w|-)*)')

try:
p = Popen(['git', 'describe', '--tags', '--always'], stdout=PIPE, stderr=STDOUT, cwd=cwd)
Expand Down

0 comments on commit f3c5cad

Please sign in to comment.