Skip to content

Commit c2d1355

Browse files
authored
chore/custom-nuget-release-task (#495)
1 parent 6b95d6c commit c2d1355

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

build/nuget-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ resources:
1717
variables:
1818
- group: 'Arcus - GitHub Package Registry'
1919
- group: 'Build Configuration'
20+
- group: 'NuGet'
2021
- template: ./variables/build.yml
2122
- template: ./variables/test.yml
2223
- name: 'Package.Version'
@@ -133,4 +134,9 @@ stages:
133134
None.
134135
### Removal
135136
None.
136-
- template: 'nuget/publish-official-package.yml@templates'
137+
- task: DotNetCoreCLI@2
138+
displayName: 'Push to NuGet.org'
139+
inputs:
140+
command: 'custom'
141+
custom: 'nuget'
142+
arguments: 'push src/**/*.nupkg --source $(NuGet.SourceUrl) --api-key $(NuGet.ApiKey)'

0 commit comments

Comments
 (0)