Skip to content

Irregularity in manifest file #977

@abhishekkumams

Description

@abhishekkumams

When generating manifest file, if there is only 1 release object, it generates a json object.

{
   "releaseId" : 1.0.0
}

and when we add a new release, then it generates an array as it's appending.

Since we are in pre-release phase, there is no way of getting the previously generated manifest file, we are only having one release object in the newly generated manifest file containing only the latest release info.

In-Short the Json creation is converting JsonArray with single object into a json object, while JsonArray with multiple objects stays Json Array.

What is the Fix?

if there is only one release info, it should create JsonArray with single element.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions