Provides the Sleet.Azure package for easily pushing packages to Azure storage-backed feeds
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
test
.gitignore
GitInfo.txt
LICENSE
README.md
Sleet.Azure.props
Sleet.Azure.targets
build.proj
build.yaml

README.md

Sleet.Azure

Provides the Sleet.Azure package for easily pushing packages to Azure storage-backed feeds

Installing

See https://www.nuget.org/packages/Sleet.Azure

Usage

You must provide the following three required properties:

    <!-- Azure storage account to use -->
    <StorageAccount Condition="'$(StorageAccount)' == ''" />
    <!-- Azure storage access key for the connection -->
    <StorageAccessKey Condition="'$(StorageAccessKey)' == ''" />
    <!-- Azure storage container name where the feed will be stored -->
    <StorageContainer Condition="'$(StorageContainer)' == ''" />

and optionally:

    <!-- 
      Whether to validate and initialize the feed before pushing. 
      Defaults to 'true', which is expensive and can safely be 
      turned to 'false' after the first init/push operation.
     -->
    <SleetInit>true</SleetInit>

You specify the packages to push via the Package item group:

<ItemGroup>
    <Package Include="bin\*.nupkg" />
</ItemGroup>

And then invoke the Push target. Optionally, invoke Init the first time you initialize the feed.