File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,15 @@ Setup(context =>
4343 Information ( "Publish to myget: {0}" , buildParameters . ShouldPublishMyGet ) ;
4444 Information ( "Publish to nuget: {0}" , buildParameters . ShouldPublishNuGet ) ;
4545 Information ( "Execute git tag: {0}" , buildParameters . ShouldExecuteGitTag ) ;
46- Information ( "///////////////////////////////////////////////////////////////////////////////" ) ;
47-
46+
4847 if ( DirectoryExists ( buildParameters . BuildArtifactsDirectory ) )
4948 {
5049 // Cleanup build artifacts.
5150 Information ( $ "Cleaning up { buildParameters . BuildArtifactsDirectory } directory.") ;
5251 DeleteDirectory ( buildParameters . BuildArtifactsDirectory , new DeleteDirectorySettings { Recursive = true } ) ;
53- }
52+ }
53+
54+ Information ( "///////////////////////////////////////////////////////////////////////////////" ) ;
5455} ) ;
5556
5657Teardown ( context =>
@@ -320,7 +321,7 @@ public class BuildParameters
320321 && ( IsMasterBranch || IsHotFixBranch || IsReleaseBranch )
321322 && ! IsPullRequest ;
322323
323- public bool ShouldExecuteGitTag => IsMasterBranch && ShouldPublishNuGet ;
324+ public bool ShouldExecuteGitTag => ShouldPublishNuGet ;
324325
325326 public string GitTagName => $ "v{ GitVersion . SemVer } ";
326327
You can’t perform that action at this time.
0 commit comments