Skip to content

Commit

Permalink
Don't blow up if Auth.targets is missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
spraints committed Nov 19, 2013
1 parent 4f42f55 commit 206766d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Release.proj
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@

<Target Name="GitHubRelease" DependsOnTargets="GitHubCreateRelease; UpdateWebSite;">
</Target>
<Import Project="Auth.targets" />
<Import Project="Auth.targets" Condition="Exists('Auth.targets')" />
<Target Name="GitHubCreateRelease" DependsOnTargets="MSBuildCommunityTasks">
<Error Text="You must set a github.com auth token in auth.targets (see auth.targets.example)" Condition="'$(GitHubAuthToken)' == ''" />
<CreateRelease Repository="$(GitHubUser)/$(GitHubProject)" TagName="v$(Version)" Files="@(ArchiveFile)" OauthToken="$(GitHubAuthToken)" ReleaseNotesFile="$(ReleaseNotes)" >
Expand Down

0 comments on commit 206766d

Please sign in to comment.