forked from Albacore/albacore
-
Notifications
You must be signed in to change notification settings - Fork 0
NuGetPush Task
Henrik edited this page Aug 26, 2012
·
1 revision
Pushes the .nuget package online.
Here is an example of how to use the NuGetPush task.
nugetpush :nuget_push do |nuget|
nuget.command = "nuget.exe"
nuget.package = "Facebook.5.0.25.0.nupkg"
nuget.apikey = "...."
nuget.source = "http://nuget.gw.symbolsource.org/Public/Nuget"
nuget.create_only = false
end##Required Properties package Path to the nuget package.
##Optional Parameters command The location of nuget.exe. (If not specified it will default to nuget.exe and search in the PATH environment variables).
apikey Api key to push to the nuget server.
source If you want to push to nuget.org ignore this parameter. If you want to push to symbol source set it to "http://nuget.gw.symbolsource.org/Public/Nuget".
create_only By default nuget.exe pushes and publishes the package. If you want to push but not publish set it to false. (Use NugetPublish task if you want to publish the pushed package later on.
- Build-Server Integration
- Command Line Task Options
- Configuration
- Custom Tasks
- Logging Options
- Sample Usages
- Task Arguments and Rakefile Parameters
- YAML Configuration
- ASP.NET Compiler - ASP.Net website compiler
- Assembly Info Generator - generate assembly info dynamically
- CSC - C# compiler
- Exec - Execute arbitrary cmd
- Fluent Migrator - Run FluentMigrator on migration library
- ILMerge - Merge dll/exe-s together
- MSBuild and XBuild - Compile a .sln-file or a MsBuild xml-file
- MSpec - Test using MSpec (machine.specifications)
- MSTest - Test using Microsoft Test Framework
- NAnt - Run a NAnt script
- NChurn - Calculate per-file churn
- NCover Console - Run NCover for tests/library
- NCover Reports - Generate a report from a coverage run
- NDepend - Run NDepend to check static code metrics
- NuGet Install - Install NuGet packages
- NuGet Pack - Create NuGet packages
- NuGet Push - Push NuGet packages to official MS repo
- NuGet Publish - Publish NuGet packages
- NUnit - Test using NUnit
- NuSpec - Generate a NuSpec file
- Output - File copying and template expansion
- PLink - SSH into a remote computer and run a command
- SQLCmd - Run a SQL command as a part of your build process
- UnZip - Unzip a directory
- XBuild - Run XBuild (will be merged into MsBuild)
- XUnit - Test using XUnit
- Zip - Zip a directory or files
- Edit the Wiki Locally - How to edit the wiki without using Github's interface
- How to Build Albacore
- How to Contribute