Skip to content

Commit

Permalink
Updated release script
Browse files Browse the repository at this point in the history
  • Loading branch information
rhauch committed May 10, 2012
1 parent dc5a9e1 commit 1dbd22d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions bin/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,7 @@ def upload(self, fr, to, type):

def maven_build_distribution(version):
"""Builds the distribution in the current working dir"""
#ALPHA1 mvn_commands = [["clean", "install", "-Passembly"],["deploy","-Passembly","-DskipTests"]]
mvn_commands = [["clean", "install"],["deploy","-DskipTests"]]
mvn_commands = [["clean", "install", "-Passembly"],["deploy","-Passembly","-DskipTests"]]

for c in mvn_commands:
if settings['dry_run']:
Expand All @@ -410,10 +409,10 @@ def maven_build_distribution(version):
print "Verifying build"
# Check an assembly files ...
fn = "modeshape-distribution/target/modeshape-%s-javadoc.zip" % (version)
#ALPHA1 if os.path.isfile(fn):
#ALPHA1 f = open(fn)
#ALPHA1 xsd = f.read()
#ALPHA1 f.close()
if os.path.isfile(fn):
f = open(fn)
xsd = f.read()
f.close()


def get_version_pattern():
Expand Down

0 comments on commit 1dbd22d

Please sign in to comment.