From 6b77e339c74f519bb0f16a64c0cc6b3d0153ed47 Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Sun, 5 Mar 2023 18:31:33 +0100 Subject: [PATCH] #2742 - update dockerhub readme on stable releases --- build/docker/Tasks/DockerHubReadmePublish.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/docker/Tasks/DockerHubReadmePublish.cs b/build/docker/Tasks/DockerHubReadmePublish.cs index eff730dceb..456c98b065 100644 --- a/build/docker/Tasks/DockerHubReadmePublish.cs +++ b/build/docker/Tasks/DockerHubReadmePublish.cs @@ -5,6 +5,7 @@ namespace Docker.Tasks; [TaskName(nameof(DockerHubReadmePublish))] +[IsDependentOn(typeof(DockerHubReadmePublishInternal))] [TaskDescription("Publish the DockerHub updated README.md")] public class DockerHubReadmePublish : FrostingTask { @@ -18,7 +19,11 @@ public override bool ShouldRun(BuildContext context) return shouldRun; } - +} +[TaskName(nameof(DockerHubReadmePublishInternal))] +[TaskDescription("Publish the DockerHub updated README.md")] +public class DockerHubReadmePublishInternal : FrostingTask +{ public override void Run(BuildContext context) { var readme = GetReadmeContent(context);