Skip to content
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

fix: use ascii for _netrc file #13

Closed
wants to merge 2 commits into from

Conversation

viceice
Copy link

@viceice viceice commented Dec 22, 2020

This change sets the out-file encoding to ascii for writing _netrc on windows powershell.

Otherwise it will default to UTF-8-BOM which causes git to be not able to read the _netrc file.

@CLAassistant
Copy link

CLAassistant commented Dec 22, 2020

CLA assistant check
All committers have signed the CLA.

@viceice
Copy link
Author

viceice commented Dec 22, 2020

my current workaround is to convert _netrc to ascii manually.

  commands:
      - cat ~/_netrc | out-file ~/.netrc -encoding ascii
      - cp ~/.netrc ~/_netrc
      - git fetch --tags

@viceice viceice changed the title fix: use utf-8 for write files fix: use ascii for _netrc file Dec 22, 2020
@viceice
Copy link
Author

viceice commented May 30, 2023

no longer using drone

@viceice viceice closed this May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants