forked from toolshed/abra
		
	feat: link direct to tag
This commit is contained in:
		| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user