carpenterd icon indicating copy to clipboard operation
carpenterd copied to clipboard

`latest` should mean `dev` everywhere and not `prod` in some cases

Open msluther opened this issue 5 years ago • 0 comments

🐛 Bug Report

dist-tagging latest should mean dev for carpenterd. It means dev everywhere else in the system.

To Reproduce

  1. Publish a package, which defaults to creating a dist-tag of latest

    This creates a build for dev

  2. Remove the latest dist-tag
  3. Re-add the latest dist-tag for the version published in step 1.

Expected Behavior

I would expect this to create a build (or rollback the build) for dev since latest means dev when publishing. Instead it creates a build for prod.

Code Example

N/A

Environment

Running within AWS with latest bits as of creation date.

msluther avatar May 28 '19 22:05 msluther