Skip to content

Commit

Permalink
Fixes for the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluebird75 committed Nov 4, 2012
1 parent 7dfd147 commit e912c32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make_release.py
Expand Up @@ -2,7 +2,7 @@

VERSION='1.5'
RELEASE_NAME='luaunit-%s' % VERSION
RELEASE_DIR='release/' + RELEASE_NAME
RELEASE_DIR='release/' + RELEASE_NAME + '/'
TARGET_ZIP=RELEASE_NAME + '.zip'
TARGET_TGZ=RELEASE_NAME + '.tgz'
REPO_PATH='d:/work/luaunit/luaunit-git/luaunit/'
Expand Down Expand Up @@ -47,7 +47,7 @@ def packageit():
os.mkdir('release')
except OSError:
pass
subprocess.check_call(['c:/Program Files/Git/bin/git.exe', 'clone', REPO_PATH, RELEASE_DIR])
subprocess.check_call(['c:/Program Files/Git/bin/git.exe', 'clone', '--no-hardlinks', REPO_PATH, RELEASE_DIR])
os.chdir( RELEASE_DIR )
shutil.rmtree('.git')
os.unlink('.gitignore')
Expand Down

0 comments on commit e912c32

Please sign in to comment.