Skip to content

Commit

Permalink
fix: 7.4 product tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lgdd committed May 27, 2023
1 parent ab3c38f commit 93b9189
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lfr/pkg/project/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,11 @@ func NewMetadata(base, version string) (*Metadata, error) {

bar.Clear()

gaUpdateSplit := strings.Split(release.TagName, "-")
gaUpdate := gaUpdateSplit[len(gaUpdateSplit)-1]

return &Metadata{
Product: strings.Join([]string{"portal", release.TagName}, "-"),
Product: strings.Join([]string{"portal", version, gaUpdate}, "-"),
BundleUrl: downloadURL,
TargetPlatform: strings.Split(release.TagName, "-")[0],
DockerImage: strings.Join([]string{"liferay/portal", release.TagName}, ":"),
Expand Down

0 comments on commit 93b9189

Please sign in to comment.