Open
Description
During the "Fixing line endings" step, eslint-release expects only exact file paths in pkg.files
, not globs. Because of this, including lib/*.js
in pkg.files
causes eslint-release to throw an exception (included below) during the release process.
The other @eslint projects use lib
and index.js
, for example, but eslint-plugin-markdown includes a .eslintrc.yml
file in the lib/
directory, which we don't want to include in the build.
Discovered in eslint/markdown#67 due to a failed Jenkins build:
Fixing line endings
fs.js:839
return binding.lstat(pathModule._makeLong(path));
^
Error: ENOENT: no such file or directory, lstat 'lib/*.js'
at Error (native)
at Object.fs.lstatSync (fs.js:839:18)
at /var/lib/jenkins/workspace/Releases/eslint-plugin-markdown Release/eslint-plugin-markdown/node_modules/eslint-release/lib/release-ops.js:398:19
at Array.filter (native)
at Object.release (/var/lib/jenkins/workspace/Releases/eslint-plugin-markdown Release/eslint-plugin-markdown/node_modules/eslint-release/lib/release-ops.js:397:28)
at Object.<anonymous> (/var/lib/jenkins/workspace/Releases/eslint-plugin-markdown Release/eslint-plugin-markdown/node_modules/eslint-release/bin/eslint-prerelease.js:35:12)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
Metadata
Metadata
Assignees
Type
Projects
Status
Evaluating