@@ -164,7 +164,7 @@ jobs:
164
164
165
165
- job : PackageWorkers
166
166
dependsOn : ['Build_WINDOWS_X64', 'Build_WINDOWS_X86', 'Build_LINUX_X64', 'Build_OSX_X64']
167
- # condition: or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
167
+ condition : or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
168
168
pool :
169
169
vmImage : ' vs2017-win2016'
170
170
steps :
@@ -191,10 +191,6 @@ jobs:
191
191
WKVERSION="3.$LATEST_TAG-$(patchBuildNumberForDev)"
192
192
else
193
193
echo "No Matching Release Tag For $BUILD_SOURCEBRANCH"
194
- LATEST_TAG=$(curl https://api.github.com/repos/Azure/azure-functions-python-worker/tags -s | jq '.[0].name' | sed 's/\"//g' | cut -d'.' -f-2)
195
- NUSPEC="pack\Microsoft.Azure.Functions.V3.PythonWorker.nuspec"
196
- # Only required for Integration Test. Version number contains date (e.g. 3.1.2.20211028-dev)
197
- WKVERSION="3.$LATEST_TAG-$(patchBuildNumberForDev)"
198
194
fi
199
195
200
196
echo "##vso[task.setvariable variable=nuspec_path]$NUSPEC"
@@ -221,12 +217,12 @@ jobs:
221
217
inputs :
222
218
pathtoPublish : ' $(Build.ArtifactStagingDirectory)'
223
219
artifactName : ' PythonWorker'
224
- # - task: NuGetCommand@2
225
- # condition: eq(variables['UPLOADPACKAGETOPRERELEASEFEED'], true)
226
- # inputs:
227
- # command: 'push'
228
- # packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
229
- # nuGetFeedType: 'internal'
230
- # publishVstsFeed: 'e6a70c92-4128-439f-8012-382fe78d6396/f37f760c-aebd-443e-9714-ce725cd427df'
231
- # allowPackageConflicts: true
232
- # displayName: '[Integration Test] Push NuGet package to the AzureFunctionsPreRelease feed'
220
+ - task : NuGetCommand@2
221
+ condition : eq(variables['UPLOADPACKAGETOPRERELEASEFEED'], true)
222
+ inputs :
223
+ command : ' push'
224
+ packagesToPush : ' $(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
225
+ nuGetFeedType : ' internal'
226
+ publishVstsFeed : ' e6a70c92-4128-439f-8012-382fe78d6396/f37f760c-aebd-443e-9714-ce725cd427df'
227
+ allowPackageConflicts : true
228
+ displayName : ' [Integration Test] Push NuGet package to the AzureFunctionsPreRelease feed'
0 commit comments