[windows] makerelease fail if git can't find branch name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Undecided
|
Sébastien BLAISOT |
Bug Description
if we're on HEAD, scons defines branch name to "(no branch)".
https:/
This name breaks makerelease target under windows (see build log below)
We should at least surround package filename with quotes.
Using command: "C:\Program Files (x86)\NSIS\
Command line defined: "PACKAGE_
Processing config: C:\Program Files (x86)\NSIS\
Can't open script "branch)
scons: *** [win64_build\.foo] CalledProcessError : Command '"C:\Program Files (x86)\NSIS\
Traceback (most recent call last):
File "C:\Python27\
result = self.execfuncti
File "C:\projects\
subprocess.
File "C:\Python27\
raise CalledProcessEr
CalledProcessError: Command '"C:\Program Files (x86)\NSIS\
scons: building terminated because of errors.
Changed in mixxx: | |
assignee: | nobody → Sébastien BLAISOT (sblaisot) |
status: | New → Confirmed |
Changed in mixxx: | |
status: | Confirmed → Fix Committed |
Changed in mixxx: | |
milestone: | none → 2.1.0 |
status: | Fix Committed → Fix Released |
To reproduce, simply clone the repo like this:
git checkout -f <commit_id>
this is what appveyor does to build a commit.