@@ -52,34 +52,41 @@ steps:
52
52
cd $(TestFolder)/azure/legacy
53
53
tox -e ci
54
54
displayName: 'Execute legacy "azure" Tests - Python $(PythonVersion)'
55
+ workingDirectory: $(Build.SourcesDirectory)/packages/autorest.python/
55
56
56
57
- script : |
57
58
cd $(TestFolder)/azure/version-tolerant
58
59
tox -e ci
59
60
displayName: 'Execute version tolerant "azure" Tests - Python $(PythonVersion)'
61
+ workingDirectory: $(Build.SourcesDirectory)/packages/autorest.python/
60
62
61
63
- script : |
62
64
cd $(TestFolder)/vanilla/legacy
63
65
tox -e ci
64
66
displayName: 'Execute legacy "vanilla" Tests - Python $(PythonVersion)'
67
+ workingDirectory: $(Build.SourcesDirectory)/packages/autorest.python/
65
68
66
69
- script : |
67
70
cd $(TestFolder)/vanilla/version-tolerant
68
71
tox -e ci
69
72
displayName: 'Execute version tolerant "vanilla" Tests - Python $(PythonVersion)'
73
+ workingDirectory: $(Build.SourcesDirectory)/packages/autorest.python/
70
74
71
75
- script : |
72
76
cd $(TestFolder)/dpg/version-tolerant
73
77
tox -e ci
74
78
displayName: 'Execute version tolerant "dpg" Tests - Python $(PythonVersion)'
79
+ workingDirectory: $(Build.SourcesDirectory)/packages/autorest.python/
75
80
76
81
- script : |
77
82
export RELEASE_VERSION=$(node -p -e "require('./package.json').version")
78
83
npm pack
79
84
npx publish-release --token $(azuresdk-github-pat) --repo autorest.python --owner azure --name "Autorest for Python v$RELEASE_VERSION" --tag v$RELEASE_VERSION --notes='Release version of Autorest for Python v5' --prerelease --editRelease false --assets autorest-python-$RELEASE_VERSION.tgz --target_commitish $(Build.SourceBranchName)
80
85
displayName: 'Publish GitHub release'
86
+ workingDirectory: $(Build.SourcesDirectory)/packages/autorest.python/
81
87
82
88
- script : |
83
89
echo "//registry.npmjs.org/:_authToken=$(azure-sdk-npm-token)" > ./.npmrc
84
90
npm publish --access public
85
91
displayName: 'Publish to npm'
92
+ workingDirectory: $(Build.SourcesDirectory)/packages/autorest.python/
0 commit comments