Skip to content

File called README.md is always included #978

@OscarAblinger

Description

@OscarAblinger

We are developing an extension in a private repository. Naturally we have a README file that explains how to build it etc.. Not really useful as the front page for the extension, so instead we have a separate one for that.

When packaging it, I noticed that the README.md file is always included in the resulting .vsix file, even though I explicitely excluded it in the .vscodeignore file:

*
*/**
# also tried it explicitely
README.md

This is the case even when the readme is specified with --readme-path.

I found that this behaviour was introduced in PR #556.
While it was clearly intentionally added, I feel like this behaviour should definitely be considered a bug. If I ignore something, it should be ignored.
If I need the readme file, then I should have to include it in the specified files (or in this case not ignore it).

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions