mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 02:52:27 +08:00
Grafana Build: fix release process not publishing latest storybook (#81412)
Bugfix: release process not publishing latest storybook
This commit is contained in:
@ -39,7 +39,7 @@ func PublishStorybookAction(c *cli.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if latest, err := isLatest(cfg); err != nil && latest {
|
||||
if latest, err := isLatest(cfg); err == nil && latest {
|
||||
log.Printf("Copying storybooks to latest...")
|
||||
if err := gcs.CopyRemoteDir(c.Context, gcs.Bucket(cfg.srcBucket), fmt.Sprintf("artifacts/storybook/v%s", cfg.tag), bucket, "latest"); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user