dripip icon indicating copy to clipboard operation
dripip copied to clipboard

Initial release errors (TypeError versions.filter)

Open skovy opened this issue 3 years ago • 0 comments

Screenshot

image

Description

Run yarn -s dripip preview-or-pr
    TypeError: versions.filter is not a function
Error: Process completed with exit code 1.

I believe this error is being thrown because this code is erroring:

https://github.com/prisma-labs/dripip/blob/2e8d2cb9dac8392be8b41ac5526fb74663d0caf1/src/utils/pr-release.ts#L103-L108

Repro Steps/Link

  • Create a new package repo
  • Open a pull request to add dripip workflow
  • Errors fetching package versions since the package doesn't exist yet

For now, I worked around this by manually publishing, this then worked as expected.

skovy avatar Jan 29 '22 00:01 skovy