Skip to content

elastic-package build: warn about package without Git repository #526

@mtojek

Description

@mtojek

It's required to build packages in Git repositories. The build command looks for the .git reference in parent directories to find the root and place the build directory there.

Unfortunately the error isn't clear and seems like this:

Error: building package failed: locating build directory for package failed: creating new build directory failed: locating place for build directory failed

The goal of this issue is to improve the developer experience and describe the behavior in command's doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions