Skip to content

Commit e6fb689

Browse files
committed
[ci] quote pypi password, bash not properly escaping it
Signed-off-by: LER0ever <[email protected]>
1 parent e17fe1e commit e6fb689

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
displayName: 'Install new wheel'
5353
5454
- script: |
55-
maturin publish -u rongyi -p $(pypi.password)
55+
maturin publish -u rongyi -p "$(pypi.password)"
5656
displayName: "Upload to PyPi"
5757
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
5858
@@ -103,7 +103,7 @@ jobs:
103103
displayName: 'Install new wheel'
104104
105105
- script: |
106-
maturin publish -u rongyi -p $(pypi.password)
106+
maturin publish -u rongyi -p "$(pypi.password)"
107107
displayName: "Upload to PyPi"
108108
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
109109
@@ -157,6 +157,6 @@ jobs:
157157
displayName: 'Install new wheel'
158158
159159
- script: |
160-
maturin publish -u rongyi -p $(pypi.password) --interpreter python
160+
maturin publish -u rongyi -p "$(pypi.password)" --interpreter python
161161
displayName: "Upload to PyPi"
162162
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))

0 commit comments

Comments
 (0)