cryostat-legacy icon indicating copy to clipboard operation
cryostat-legacy copied to clipboard

CI builds have an incomplete version string

Open ebaron opened this issue 2 years ago • 1 comments

Our 2.1.0 release has 06a7974 listed for version as reported by Cryostat. I think there are a couple of problems here:

  1. The CI build does not fetch any tags when checking out the commit
  2. The CI build for the release occurs before the release is tagged

ebaron avatar May 31 '22 21:05 ebaron

Our 2.1.0 release has 06a7974 listed for version as reported by Cryostat. I think there are a couple of problems here:

1. The CI build does not fetch any tags when checking out the commit

This should be fixable by adding fetch-depth: 0 to the checkout action.

2. The CI build for the release occurs before the release is tagged

The simplest solution here would probably be to re-run the workflow for the release event type, there might be a better solution though.

ebaron avatar Jun 24 '22 14:06 ebaron