-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npmversion shell script has a line ending problem #1
Comments
Hi Many thanks for your feedback Can you tell me a context to try to reproduce the issue ? To show if I fix it (OS version, NodeJs version, NPM version, npmverson version, ...) Many thanks again, I hope to fix it asap Cheers |
Sure, we are using OS X 10.11 and NodeJS 6.2.1 with the default npm It's pretty clear what the problem is, when I open the bin/npmversion Thanks again! On Tue, Sep 20, 2016, 7:06 AM Roche julien notifications@github.com wrote:
|
Hi, I did some poking around - it looks like the project repo itself is setup correctly. If I had to guess, you are developing on Windows, and you last did an I'm not sure what the solution is - you could setup a continuous integration server (travisCI is free for open source projects) to do the deployment for you, or it looks like you could tweak your Windows checkout to solve the problem, I'm not exactly sure how. It looks like npm hasn't closed the bug yet. |
You guess right, I have publish from a Windows laptop :) This is an interesting. I will use dos2unix and push the modification asap. If it does not work, I will use my Ubuntu workstation and try to publish with it. |
I have push the 1.2.2 version. Can you try this and tell me if it works ? Otherwise, I try to publish with my Ubuntu workstation Many thanks |
OK, I think there are ways to setup the config to prevent this problem but On Tue, Sep 20, 2016, 3:32 PM Roche julien notifications@github.com wrote:
|
I'll try as soon as I get to my computer |
I just tried using 1.2.2, and I see the I ran a script I found online to show the line endings and here is what I see:
|
OK I will check if my IDE does not force the windows line breaking |
Hi I try to force the use of 'lf' for javascript files I deliver the 1.3.0 release I hope it can help you Cheers |
Similar to this bug: nwutils/nw-builder#75
I had to run dos2unix on
node_modules/npmversion/bin/npmversion
to get it to work, which doesn't seem sustainable.The text was updated successfully, but these errors were encountered: