Skip to content

Commit

Permalink
use github update url, update publish.proj
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Brandt committed May 20, 2015
1 parent 6645225 commit 208e7de
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 23 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
packages/*
packages/*
Publish/
4 changes: 2 additions & 2 deletions Rnwood.Smtp4dev/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Rnwood.Smtp4dev/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<Value Profile="(Default)" />
</Setting>
<Setting Name="UpdateURL" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">https://smtp4dev.svn.codeplex.com/svn/trunk/releases.xml</Value>
<Value Profile="(Default)">https://github.com/smorks/smtp4dev/raw/master/releases.xml</Value>
</Setting>
<Setting Name="EnableUpdateCheck" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
Expand Down
2 changes: 1 addition & 1 deletion Rnwood.Smtp4dev/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
<applicationSettings>
<Rnwood.Smtp4dev.Properties.Settings>
<setting name="UpdateURL" serializeAs="String">
<value>https://smtp4dev.svn.codeplex.com/svn/trunk/releases.xml</value>
<value>https://github.com/smorks/smtp4dev/raw/master/releases.xml</value>
</setting>
<setting name="UpdateCheckIncludePrerelease" serializeAs="String">
<value>True</value>
Expand Down
19 changes: 1 addition & 18 deletions publish.proj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Version>2.0.9</Version>
<Version>2.0.10</Version>
<MSBuildCommunityTasksPath>.</MSBuildCommunityTasksPath>
</PropertyGroup>

Expand All @@ -18,23 +18,6 @@
<MSBuild Projects="smtp4dev.sln" Targets="Clean" Properties="Configuration=Debug"/>
<MSBuild Projects="smtp4dev.sln" Targets="Clean" Properties="Configuration=Release"/>

<Message Text="Zipping up source"/>
<Exec Command="svn export --force . Publish\Source"/>

<ItemGroup>
<SourceFiles Include="Publish\Source\**\*.*" Exclude="Publish\*;**\*.pdb" />
</ItemGroup>

<Zip Files="@(SourceFiles)" ZipFileName="Publish\smtp4dev-$(Version)-source.zip" WorkingDirectory="Publish\Source" ZipLevel="9" />

<ItemGroup>
<ServerSourceFiles Include="Publish\Source\Rnwood.SmtpServer\**\*.*" Exclude="Publish\*"/>
</ItemGroup>

<Copy SourceFiles="LICENSE" DestinationFiles="Publish\Source\Rnwood.SmtpServer\LICENSE"/>

<Zip Files="@(ServerSourceFiles)" ZipFileName="Publish\Rnwood.SmtpServer-$(Version)-source.zip" WorkingDirectory="Publish\Source\Rnwood.SmtpServer" ZipLevel="9" />

<Message Text="Building release version"/>
<MSBuild Projects="smtp4dev.sln" Targets="Build" Properties="Configuration=Release"/>
<ItemGroup>
Expand Down

0 comments on commit 208e7de

Please sign in to comment.