Skip to content

extension update-index: remove constraint string on path or not? #165

Open
@haroldrandom

Description

@haroldrandom

Description

As mentioned in #163 (comment), azdev extension update-index requries the path name of src/index.json must contain string "azure-cli-extensions" which is the official default name of Azure/azure-cli-extensions.

But in the setup step, their is not such limit.

This limitation break in ADO, cause the default value of ADO predefined variable $(System.DefaultWorkingDirectory) isn't settable in pipeline level. So azdev extension update-index won't work by default in ADO if checking out Azure/azure-cli-extensions.

Work Around

As a work around, have to set $(System.DefaultWorkingDirectory) in each task of a pipeline to re-define the working directory.

Expected?

Not sure what's the perfect behavior.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions