I'm trying to publish a minor update to the Atom package and I keep on getting "The header content contains invalid characters"
What I did: cloned the repo, set remote branch, fetch branches, pull content. modify stuff. change the version in package.json. git add. git commit. git push.
and then I used apm publish minor.
I keep on getting this annoying error and I can't find anything on it on the internet. I dont even know how to get more details, what is even the header? is it package.json?
this is how the package.json looks by default for atom packages:
{
"name": "my-test-package",
"main": "./lib/my-test-package",
"version": "0.0.0",
"description": "A short description of your package",
"keywords": [
],
"activationCommands": {
"atom-workspace": "my-test-package:toggle"
},
"repository": "https://github.com/atom/my-test-package",
"license": "MIT",
"engines": {
"atom": ">=1.0.0 <2.0.0"
},
"dependencies": {
}
}
the only thing I changed here was the 2nd digit from the version.