[v10.4.x] CI: Support more version formats in publishing (#94740)

CI: Support more version formats in publishing (#94575)

* cleanup dead code
* add tests and rewrite publish grafanacom steps to reuse
* add pkg/build tests; don't upload CDN assets on grafana releases

(cherry picked from commit 7a2edd35d5)
This commit is contained in:
Kevin Minehart
2024-10-15 13:23:04 -05:00
committed by GitHub
parent c66109b725
commit 6aa75962da
70 changed files with 1065 additions and 5055 deletions
-14
View File
@@ -1,9 +1,5 @@
package validation
import (
"context"
)
type ArtifactType int
const (
@@ -15,13 +11,3 @@ type Artifact struct {
Type ArtifactType
URL string
}
// ReleaseArtifacts generates a list of release artifacts
func ReleaseArtifacts(version string) ([]Artifact, error) {
return nil, nil
}
// VerifyRelease tests that a that, given the information, a release will completed wholly and successfully.
func VerifyRelease(ctx context.Context, version string) (bool, error) {
return false, nil
}