Skip to content

Commit 5007fe0

Browse files
committed
revert debug/test tasks
1 parent 7a18a0f commit 5007fe0

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164

165165
- job: PackageWorkers
166166
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'))
168168
pool:
169169
vmImage: 'vs2017-win2016'
170170
steps:
@@ -191,10 +191,6 @@ jobs:
191191
WKVERSION="3.$LATEST_TAG-$(patchBuildNumberForDev)"
192192
else
193193
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)"
198194
fi
199195
200196
echo "##vso[task.setvariable variable=nuspec_path]$NUSPEC"
@@ -221,12 +217,12 @@ jobs:
221217
inputs:
222218
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
223219
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

Comments
 (0)