NASA-PDS / roundup-action

Do a "roundup", a/k/a PDS-style continuous integration and delivery
Apache License 2.0
1 stars 4 forks source link

As a developer, I want to Roundup new repositories too #56

Closed nutjob4life closed 2 years ago

nutjob4life commented 2 years ago

The Roundup workflows recently got added to the archive-analytics repository. This repository has never had a release before. When the Roundup got to it, though, it failed with this log.

The issue seems to be:

  1. The Roundup build step finds there's no prior releases, so Versioneer can't make a vX.Y.Z style release tag. So no distribution gets made.
  2. Later, the Roundup's artifact publication step tries to publish any distribution made from the build step. But there's none.

Two alternatives:

  1. Assume that in a new repository the starting version number shall be v0.0.0.
  2. Don't make assumptions; new repositories will skip artifact publication until a human being sets an initial version with a release/X.Y.Z branch
jordanpadams commented 2 years ago

I vote for option 1, v0.0.0

jordanpadams commented 2 years ago

tabling this as a low priority since there is a pretty easy workaround we can do

nutjob4life commented 2 years ago

Woops, I just saw the low priority marker on this. Sorry!

Well got a solution anyway 😅