This project is read-only.

Examples


CodePlexReleasePublisher

This creates a release based on the BuildCondition. If it is a "ForceBuild" then it publishes the release as a "Production" release and it is set as the default release. If it is an "IfModificationExists" build, the release is published as a "Beta" release.


      <codeplexRelease projectName="myProject">
        <username>username</username>
        <password>password</password>
        <releases>
          <release releaseName="${Label}">
            <description>${ProjectName} ${Label}

${ModificationComments}</description>
            <releaseFiles>
              <releaseFile fileName="F:\redist\${ProjectName}\debug\${Label}\${ProjectName}.${Label}.zip" fileType="RuntimeBinary" mimeType="application/x-zip" name="${ProjectName}.${Label}" />
              <releaseFile fileName="F:\redist\${ProjectName}\debug\${Label}\${ProjectName}.${Label}.src.zip" fileType="SourceCode" mimeType="application/x-zip" name="${ProjectName}.${Label}.src" />
              <releaseFile fileName="F:\redist\${ProjectName}\debug\${Label}\${ProjectName}.${Label}.msi.zip" fileType="RuntimeBinary" mimeType="application/x-zip" name="${ProjectName}.${Label}.msi" />
            </releaseFiles>
            <buildCondition>IfModificationExists</buildCondition>
            <releaseStatus>Released</releaseStatus>
            <releaseType>Beta</releaseType>
            <isDefaultRelease>False</isDefaultRelease>
            <showToPublic>True</showToPublic>
            <showOnHomePage>True</showOnHomePage>
          </release>
          <release releaseName="${Label}">
            <description>${ProjectName} ${Label}

${ModificationComments}</description>
            <releaseFiles>
              <releaseFile fileName="F:\redist\${ProjectName}\debug\${Label}\${ProjectName}.${Label}.zip" fileType="RuntimeBinary" mimeType="application/x-zip" name="${ProjectName}.${Label}" />
              <releaseFile fileName="F:\redist\${ProjectName}\debug\${Label}\${ProjectName}.${Label}.src.zip" fileType="SourceCode" mimeType="application/x-zip" name="${ProjectName}.${Label}.src" />
              <releaseFile fileName="F:\redist\${ProjectName}\debug\${Label}\${ProjectName}.${Label}.msi.zip" fileType="RuntimeBinary" mimeType="application/x-zip" name="${ProjectName}.${Label}.msi" />
            </releaseFiles>
            <buildCondition>ForceBuild</buildCondition>
            <releaseStatus>Released</releaseStatus>
            <releaseType>Production</releaseType>
            <isDefaultRelease>True</isDefaultRelease>
            <showToPublic>True</showToPublic>
            <showOnHomePage>True</showOnHomePage>
          </release>
        </releases>
      </codeplexRelease>

Last edited Jan 7, 2009 at 12:42 AM by camalot, version 3

Comments

No comments yet.