mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
Grafana Build: fix release process not publishing latest storybook (#81412)
Bugfix: release process not publishing latest storybook
This commit is contained in:
parent
1213b66188
commit
ad1c4b726b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user