diff --git a/cli/recipe/release.go b/cli/recipe/release.go index dbd8d425..72cacbc0 100644 --- a/cli/recipe/release.go +++ b/cli/recipe/release.go @@ -197,7 +197,7 @@ func createReleaseFromTag(recipe recipe.Recipe, tagString, mainAppVersion string logrus.Fatal(err) } - if err := pushRelease(recipe); err != nil { + if err := pushRelease(recipe, tagString); err != nil { logrus.Fatal(err) } @@ -272,7 +272,7 @@ func tagRelease(tagString string, repo *git.Repository) error { return nil } -func pushRelease(recipe recipe.Recipe) error { +func pushRelease(recipe recipe.Recipe, tagString string) error { if internal.Dry { logrus.Info("dry run: no changes published") return nil @@ -294,7 +294,7 @@ func pushRelease(recipe recipe.Recipe) error { } } - url := fmt.Sprintf("%s/%s/tags", config.REPOS_BASE_URL, recipe.Name) + url := fmt.Sprintf("%s/%s/tags/%s", config.REPOS_BASE_URL, recipe.Name, tagString) logrus.Infof("new release published: %s", url) return nil