File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ public class UpdateAssemblyInfo : Task
16
16
17
17
public string ReleaseBranchTag { get ; set ; }
18
18
19
+ public string TagPrefix { get ; set ; }
20
+
19
21
[ Required ]
20
22
public string SolutionDirectory { get ; set ; }
21
23
@@ -97,6 +99,11 @@ public void InnerExecute()
97
99
config . ReleaseBranchTag = ReleaseBranchTag ;
98
100
}
99
101
102
+ if ( TagPrefix != null )
103
+ {
104
+ config . TagPrefix = TagPrefix ;
105
+ }
106
+
100
107
CachedVersion semanticVersion ;
101
108
if ( ! VersionAndBranchFinder . TryGetVersion ( SolutionDirectory , out semanticVersion , config ) )
102
109
{
Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ public class GetVersion : Task
76
76
77
77
public string ReleaseBranchTag { get ; set ; }
78
78
79
+ public string TagPrefix { get ; set ; }
80
+
79
81
TaskLogger logger ;
80
82
81
83
public GetVersion ( )
@@ -105,6 +107,11 @@ public override bool Execute()
105
107
config . ReleaseBranchTag = ReleaseBranchTag ;
106
108
}
107
109
110
+ if ( TagPrefix != null )
111
+ {
112
+ config . TagPrefix = TagPrefix ;
113
+ }
114
+
108
115
if ( VersionAndBranchFinder . TryGetVersion ( SolutionDirectory , out versionAndBranch , config ) )
109
116
{
110
117
var thisType = typeof ( GetVersion ) ;
You can’t perform that action at this time.
0 commit comments