File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,19 +51,19 @@ public BuildContext(ICakeContext context) : base(context)
51
51
52
52
if ( ! RepositoryUrl . Equals ( DefaultRepositoryUrl , StringComparison . OrdinalIgnoreCase ) )
53
53
{
54
- Version = $ "{ Version } . { workflow . RunNumber } -{ workflow . RepositoryOwner } ";
54
+ Version = $ "{ Version } -{ workflow . RepositoryOwner } ";
55
55
}
56
56
else if ( workflow . RefType == GitHubActionsRefType . Branch && ! workflow . RefName . Equals ( "refs/head/main" , StringComparison . OrdinalIgnoreCase ) )
57
57
{
58
- Version = $ "{ Version } . { workflow . RunNumber } -develop";
58
+ Version = $ "{ Version } -develop";
59
59
}
60
60
else if ( IsPreRelease )
61
61
{
62
- Version = $ "{ Version } . { workflow . RunNumber } -prerelease";
62
+ Version = $ "{ Version } -prerelease";
63
63
}
64
64
else
65
65
{
66
- Version = $ "{ Version } . { workflow . RunNumber } ";
66
+ Version = $ "{ Version } ";
67
67
}
68
68
}
69
69
You can’t perform that action at this time.
0 commit comments