Created
February 7, 2013 03:22
-
-
Save lukencode/4728138 to your computer and use it in GitHub Desktop.
Octopack build script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/> | |
<PropertyGroup> | |
<DeployFiles>$(MSBuildStartupDirectory)\DeployFiles.msbuild</DeployFiles> | |
<VersionMajor>1</VersionMajor> | |
<VersionMinor>0</VersionMinor> | |
<VersionPatch>0</VersionPatch> | |
<ChangesetNumber>0</ChangesetNumber> | |
<NugetFileShare>\\itsmanv01\Releases</NugetFileShare> | |
</PropertyGroup> | |
<Target Name="Build"> | |
<TfsVersion | |
TfsLibraryLocation="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0" | |
LocalPath="$(MSBuildProjectDirectory)"> | |
<Output TaskParameter="Changeset" PropertyName="ChangesetNumber"/> | |
</TfsVersion> | |
<Message Importance="high" Text="Version = '$(VersionMajor).$(VersionMinor).$(VersionPatch).$(ChangesetNumber)'"></Message> | |
<MSBuild | |
Projects="RequisitioningSolution.sln" | |
Targets="Build" | |
Properties="Configuration=Release;RunOctoPack=true;OctoPackPublishPackageToFileShare=$(NugetFileShare);OctoPackPackageVersion=$(VersionMajor).$(VersionMinor).$(VersionPatch).$(ChangesetNumber)" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment