Closed jmkao closed 8 years ago
newstart.sh's tag detection works improperly when build.number was generated on Windows and uses Windows linefeeds.
In this case, the ^M is interpreted by newstart.sh as part of the tag name, and thus it always sees a tag mismatch and downloads a new version.
The output of the cut command needs to be further processed by something (perhaps sed) to eliminate trailing whitespace.
cut
sed
newstart.sh's tag detection works improperly when build.number was generated on Windows and uses Windows linefeeds.
In this case, the ^M is interpreted by newstart.sh as part of the tag name, and thus it always sees a tag mismatch and downloads a new version.
The output of the
cut
command needs to be further processed by something (perhapssed
) to eliminate trailing whitespace.