We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de34216 commit 3dab8c7Copy full SHA for 3dab8c7
1 file changed
src/ModularPipelines.Build/Modules/PushVersionTagModule.cs
@@ -6,6 +6,7 @@
6
using ModularPipelines.Git.Options;
7
using ModularPipelines.Models;
8
using ModularPipelines.Modules;
9
+using ModularPipelines.Options;
10
11
namespace ModularPipelines.Build.Modules;
12
@@ -31,9 +32,17 @@ await context.Git().Commands.Tag(new GitTagOptions
31
32
TagName = $"v{versionInformation.ValueOrDefault!}",
33
}, token: cancellationToken);
34
- return await context.Git().Commands.Push(new GitPushOptions
35
- {
36
- Tags = true,
37
- }, token: cancellationToken);
+ return await context.Git().Commands.Push
+ (
+ new GitPushOptions
38
+ {
39
+ Tags = true,
40
+ },
41
+ new CommandExecutionOptions
42
43
+ ThrowOnNonZeroExitCode = false,
44
45
+ token: cancellationToken
46
+ );
47
}
48
0 commit comments